pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/wireshark use libgnutls-config



details:   https://anonhg.NetBSD.org/pkgsrc/rev/062e51f0c340
branches:  trunk
changeset: 395031:062e51f0c340
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Jul 02 19:13:05 2009 +0000

description:
use libgnutls-config

diffstat:

 net/wireshark/Makefile               |  10 ++--------
 net/wireshark/files/libgnutls-config |  10 ----------
 2 files changed, 2 insertions(+), 18 deletions(-)

diffs (51 lines):

diff -r 127418e90f0b -r 062e51f0c340 net/wireshark/Makefile
--- a/net/wireshark/Makefile    Thu Jul 02 18:54:18 2009 +0000
+++ b/net/wireshark/Makefile    Thu Jul 02 19:13:05 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2009/06/25 09:38:25 drochner Exp $
+# $NetBSD: Makefile,v 1.34 2009/07/02 19:13:05 tnn Exp $
 
 DISTNAME=              wireshark-1.0.8
 PKGREVISION=           1
@@ -29,8 +29,6 @@
 CONFIGURE_ARGS+=       --with-pcap=${BUILDLINK_PREFIX.libpcap}
 CONFIGURE_ARGS+=       --with-zlib=${BUILDLINK_PREFIX.zlib}
 CONFIGURE_ARGS+=       --with-pcre=${BUILDLINK_PREFIX.pcre}
-# XXX work around missing "libgnutls-config" in gnutls-2.8
-CONFIGURE_ENV+=                LIBGNUTLS_CONFIG=${WRKDIR}/libgnutls-config
 
 PTHREAD_OPTS+=         require
 
@@ -44,17 +42,13 @@
 # wireshark no longer builds with NetBSD 3.x provided zlib
 BUILDLINK_API_DEPENDS.zlib=zlib>=1.2.1
 
-pre-configure:
-       ${SED} "s|@SH@|${SH}|" <${FILESDIR}/libgnutls-config \
-               >${WRKDIR}/libgnutls-config
-       ${CHMOD} +x ${WRKDIR}/libgnutls-config
-
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../devel/libsmi/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"
+.include "../../security/gnutls/libgnutls-config.mk"
 .include "../../security/openssl/buildlink3.mk"
 
 .include "../../mk/pthread.buildlink3.mk"
diff -r 127418e90f0b -r 062e51f0c340 net/wireshark/files/libgnutls-config
--- a/net/wireshark/files/libgnutls-config      Thu Jul 02 18:54:18 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-#!@SH@
-# $NetBSD: libgnutls-config,v 1.1 2009/06/25 09:38:25 drochner Exp $
-
-if [ $1 = "--version" ]; then
-       arg=--modversion
-else
-       arg=$1
-fi
-
-pkg-config $arg gnutls



Home | Main Index | Thread Index | Old Index