opnsense-ports/net/libnids/files/patch-configure
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

21 lines
422 B
Text

Do not attempt to put -lgthread-2.0 before its -L clause!
--- configure.orig
+++ configure
@@ -4288,7 +4288,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgthread-2.0 $GTHREAD_LIBS $LIBS"
+LIBS="$GTHREAD_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4350,7 +4350,6 @@
#define HAVE_LIBGTHREAD_2_0 1
_ACEOF
- LIBS="-lgthread-2.0 $LIBS"
fi