Changes between Version 1 and Version 2 of Ticket #51516, comment 134
- Timestamp:
- Jun 3, 2024, 4:53:22 PM (5 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51516, comment 134
v1 v2 39 39 } 40 40 post-destroot { 41 foreach p [glob ${destroot}${thePrefix}/lib/pkgconfig/*.pc] {42 reinplace -q "s|Libs: |Libs: -Wl,-rpath,\$\{libdir\} |g" ${p}43 }44 41 # also make certain no one can re-arrange the order of the linker command line 45 42 # and -L and -l arguments cannot get separated causing the wrong libraries to be linked. 46 43 foreach lib {crypto ssl tls} { 47 reinplace "s|-L\$\{libdir\} -l${lib}|\$\{libdir\}/lib$lib.${shext}|g" \44 reinplace -q "s|Libs: |Libs: -Wl,-rpath,\$\{libdir\} |g" \ 48 45 ${destroot}${thePrefix}/lib/pkgconfig/lib${lib}.pc 49 46 } … … 63 60 depends_build-append port:pkgconfig 64 61 conflicts_build openssl-dev 65 configure.ldflags-delete \66 -L${prefix}/lib67 62 } 68 63 }}} 69 64 70 65 Next step is to test if this gives a fully functional Pextlib without libcrypto ABI clashes. 66 67 EDIT: I've been able to fetch+checksum a distfile, so a priori LibreSSL is a suitable SSL provider for the ditto curl background. I've not been able to prevent a build conflict with `port:openssl` due to the curl build system but that won't be an issue for the majority of users who pull binary packages.