freebsd-ports/databases/grass7/files/patch-configure
Loïc Bartoletti a554a86652 databases/grass7: add SONAME and use new path for graphics/qgis*
- Add SONAME (upstreamed) [1]
    - Remove the (bad) idea to keep a symlink to the old path logic (grass-M.m.b)
    - Fix FindGRASS.cmake for graphics/qgis and graphics/qgis-ltr (upstreamed) [2]

    [1] https://github.com/OSGeo/grass/pull/301
    [2] https://github.com/qgis/QGIS/pull/34088

PR:		https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243736
Approved by:	Rainer Hurlin (maintainer), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D23470
2020-02-06 19:17:32 +00:00

10 lines
333 B
Text

--- configure.orig 2020-01-25 14:44:16 UTC
+++ configure
@@ -1591,6 +1591,7 @@ EOF
# FreeBSD 3.* and greater have ELF.
SHLIB_CFLAGS="-fPIC"
#SHLIB_LD="ld -Bshareable -x"
+ SHLIB_LD_FLAGS="-Wl,-soname,\$(notdir \$@)"
SHLIB_LD="${CC} -shared"
SHLIB_SUFFIX=".so"
LDFLAGS="-export-dynamic"