This is a heads up about a bug some of you have run into
and I've reported here.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208120

To summarize: any binary or .so object linked using cmake will indeed
have a DT_RPATH entry, but it gets stripped out on install.

I worked around this with comms/sdr-wspr
by stripping the Fortran Flags to determine the RPATH and setting it
manually in CMakeLists.txt

+# temporary ugly hack
+string(REGEX MATCH "-rpath=.*" CMAKE_RPATH_ARG ${CMAKE_Fortran_FLAGS} )
+string(SUBSTRING ${CMAKE_RPATH_ARG} 7 -1 CMAKE_RPATH)
+set(CMAKE_INSTALL_RPATH ${CMAKE_RPATH} )

I know other ports have run into this.

Diane
-- 
- [email protected] [email protected] http://www.db.net/~db
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to