summaryrefslogtreecommitdiff
path: root/net/libnids/files/patch-configure
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2009-03-18 15:25:03 +0000
committerPeter Pentchev <roam@FreeBSD.org>2009-03-18 15:25:03 +0000
commit6dbf69dcfc185646f0aee71d576ac33281762141 (patch)
tree1711ed4f0c64ea36d8b965c2603a7ff64e50acad /net/libnids/files/patch-configure
parentAdd new port igmpproxy. (diff)
Update to libnids-1.23.
Fix a couple of portlint warnings by simply removing *any* overriding of CFLAGS, LDFLAGS, etc. and fixing the libnids configure script to properly use the values obtained from pkg-config.
Notes
Notes: svn path=/head/; revision=230361
Diffstat (limited to 'net/libnids/files/patch-configure')
-rw-r--r--net/libnids/files/patch-configure21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/libnids/files/patch-configure b/net/libnids/files/patch-configure
new file mode 100644
index 000000000000..3b9cb5cbacce
--- /dev/null
+++ b/net/libnids/files/patch-configure
@@ -0,0 +1,21 @@
+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
+