SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# --libs creates -lgeos-${VERSION}, which we don't build. --static-cclibs does
# the right thing here.
Index: m4/geos.m4
--- m4/geos.m4.orig
+++ m4/geos.m4
@@ -77,7 +77,7 @@ AC_DEFUN([GEOS_INIT],[
if $GEOS_CONFIG --libs >/dev/null 2>&1; then
AC_MSG_RESULT(yes)
HAVE_GEOS="yes"
- GEOS_LIBS="`$GEOS_CONFIG --libs`"
+ GEOS_LIBS="`$GEOS_CONFIG --static-cclibs`"
GEOS_C_LIBS="`$GEOS_CONFIG --ldflags` -lgeos_c"
GEOS_CC_LIBS="`$GEOS_CONFIG --ldflags` -lgeos"
GEOS_CFLAGS="`$GEOS_CONFIG --cflags`"