qt4-base-x11 publishing libraries for linking
Daniel Macks <[email protected]> Tue, 09 Jan 2018 00:04:01 -0500
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <[email protected]> |
While working on openssl-related packages, I noticed packages that build against qt4-base-x11 inherited "-lssl" and similar linking flags even if they did not use crypto, but packages using the qt4-base-mac variant did not. This is a feature of the .prl files in qt4-base-* that qmake uses to generate makefiles: both qt4-base variants link against libssl themselves, but only the -x11 variant publishes that flag to be used by its reverse-builddepends. This flag is inserted by a .info CompileScript segment documented as "FIX LA, PRL and PC FILES" (and with no other explanation when it was added in the 10.4ish era). The -mac variant used to do this also, but it was removed when that variant (but not -x11) was updated to a new upstream version in the 10.7 era: https://github.com/fink/fink-distributions/commit/723803b65f8ade8d94568ceeba213e61c798708e At worst, removing it seems like it could trigger a compile failure if some package that used ssl directly was relying on inheriting it rather than asserting it directly, and would be easily fixed there. But having it sets a lot of inherited linking against unused libraries up the dep chain and makes it confusing to upgrade openssl deps cleanly. Any objections to removing it from the -x11 variant? The package is unmaintained, but there is a request in the .info to discuss major changes on fink-devel first... dan -- Daniel Macks [email protected] ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fink-devel mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel