aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2009-03-18 23:25:03 +0800
committerroam <roam@FreeBSD.org>2009-03-18 23:25:03 +0800
commit200fb2f622a117a08f3c5509d8696c406778e895 (patch)
treefb8026c00ccd1794aa10ab20ecd97c023e0f18ea /net
parentc54435fc9cd854b301a2be5b3583de85171da9a7 (diff)
downloadfreebsd-ports-gnome-200fb2f622a117a08f3c5509d8696c406778e895.tar.gz
freebsd-ports-gnome-200fb2f622a117a08f3c5509d8696c406778e895.tar.zst
freebsd-ports-gnome-200fb2f622a117a08f3c5509d8696c406778e895.zip
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.
Diffstat (limited to 'net')
-rw-r--r--net/libnids/Makefile7
-rw-r--r--net/libnids/distinfo6
-rw-r--r--net/libnids/files/patch-configure21
3 files changed, 25 insertions, 9 deletions
diff --git a/net/libnids/Makefile b/net/libnids/Makefile
index 840df65124da..02069e16a8a8 100644
--- a/net/libnids/Makefile
+++ b/net/libnids/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libnids
-PORTVERSION= 1.21
-PORTREVISION= 4
+PORTVERSION= 1.23
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,10 +20,6 @@ OPTIONS= LIBNET "Include code requiring libnet" ON \
WANT_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-
-MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAN3= libnids.3
diff --git a/net/libnids/distinfo b/net/libnids/distinfo
index 81ff076c7557..f6eaac0ef49d 100644
--- a/net/libnids/distinfo
+++ b/net/libnids/distinfo
@@ -1,3 +1,3 @@
-MD5 (libnids-1.21.tar.gz) = 8c43dd7d66350eed99a29be50bc5615f
-SHA256 (libnids-1.21.tar.gz) = 91ec08b9aeb2f869009b5b099f318c476f75942db64804eb50acde94696f4bf5
-SIZE (libnids-1.21.tar.gz) = 140138
+MD5 (libnids-1.23.tar.gz) = af35e8ef403a0ca95df2da94db856428
+SHA256 (libnids-1.23.tar.gz) = 755cd72483c2cdccbc6634c00de9e2d8666419fd80da36a2bdb3f81657130643
+SIZE (libnids-1.23.tar.gz) = 140975
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
+