#32517: qhull +debug post-destroot links wrong library ------------------------------------+--------------------------------------- Reporter: michaelld@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: haspatch | Port: qhull ------------------------------------+--------------------------------------- Old description:
In r87709, various symlinks were added to the post-destroot phase. The DYLIB is currently named "libqhull_d6.dylib", while that revision of the Portfile (for whatever reason) used "libqhull6.dylib". This issue is fixed by "s/libqhull6/libqhull_d6/g", which changes just the symlink on line 41. I'm attaching a patch.
New description: In r87709, various symlinks were added to the post-destroot phase. When installed with +debug, the DYLIB is currently named "libqhull_d6.dylib", while that revision of the Portfile (for whatever reason) used "libqhull6.dylib". This issue is fixed by "s/libqhull6/libqhull_d6/g", but for the +debug variant only, which changes just the symlink on line 41. -- Comment(by michaelld@…): I just poked around a bit & found out that this issue is with +debug only. So, I've changed this ticket to reflect this new info. The Portfile patch won't work for this case, but it's a pretty simple change to check for that variant. It would be nice if the release and debug libraries were consistently named (e.g., libfoo.dylib and libfoo_debug.dylib), but that would require more post-destroot messing. -- Ticket URL: <https://trac.macports.org/ticket/32517#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS