This is what I ended up with. I don't like it at all.
pre-destroot {
# This fixes what may be a cmake error
catch {
# look for DESTDIR in the fixup_bundle arguments
exec grep -q {fixup_bundle.*DESTDIR}
${workpath}/build/InstallRules/dependencies.cmake
} res opt
# if it's not presen
This is a continuation of work on a very old problem, which you can see at:
https://lists.macports.org/pipermail/macports-dev/2012-August/020015.html
I picked this up again, after an absence of years, and have made some
progress. There is a problem with DESTDIR and the generated cmake
dependenci
Starting in a few days and lasting for a few weeks, my availability
might be spottier than usual, so if other people wanted to step up to
help watch the pull request queue for a while, it would be
appreciated. I will still be around, just not quite so steadily.
Perry
--
Perry E. Metzger