summaryrefslogtreecommitdiff
path: root/net/ethereal
diff options
context:
space:
mode:
authorjlam <jlam>2002-06-09 22:46:38 +0000
committerjlam <jlam>2002-06-09 22:46:38 +0000
commitfcec7bdd8520af42ff6a940499be64fcfa7f6354 (patch)
treecc7cf6818578dc65631121a8235225e8febc530b /net/ethereal
parent460a54d5960fa8a88f9c953fa4fcb85da8533679 (diff)
downloadpkgsrc-fcec7bdd8520af42ff6a940499be64fcfa7f6354.tar.gz
Make ethereal weakly buildlinked, and support openssl, pcap, and zlib
explicitly. Changes from pkg/16872 by Greg A. Woods <woods@weird.com> with small changes by me.
Diffstat (limited to 'net/ethereal')
-rw-r--r--net/ethereal/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/net/ethereal/Makefile b/net/ethereal/Makefile
index 355065fa874..e962d925af9 100644
--- a/net/ethereal/Makefile
+++ b/net/ethereal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2002/06/02 11:21:33 tron Exp $
+# $NetBSD: Makefile,v 1.61 2002/06/09 22:46:38 jlam Exp $
DISTNAME= ethereal-0.9.4
CATEGORIES= net
@@ -11,17 +11,21 @@ COMMENT= Network protocol analyzer
BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
-USE_X11= YES
-USE_SSL= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
-EVAL_PREFIX+= GTKDIR=gtk+
-CONFIGURE_ARGS+= --with-gtk-prefix=${BUILDLINK_DIR} \
- --with-ucdsnmp=${BUILDLINK_DIR}
-LIBS+= -lcrypto
+CONFIGURE_ARGS+= --with-gtk-prefix=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-ucdsnmp=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-pcap=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_DIR}
+.include "../../devel/zlib/buildlink.mk"
+.include "../../net/libpcap/buildlink.mk"
+.include "../../net/ucd-snmp/buildlink.mk"
+.include "../../security/openssl/buildlink.mk"
.include "../../x11/gtk/buildlink.mk"
-.include "../ucd-snmp/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+
.include "../../mk/bsd.pkg.mk"