summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-06-09 22:46:38 +0000
committerjlam <jlam@pkgsrc.org>2002-06-09 22:46:38 +0000
commit7b4d62c9093b25bfb9e6d69778d1fc63aa13ef97 (patch)
treecc7cf6818578dc65631121a8235225e8febc530b
parentafd3e69872c384df3d0a2e58f09ca89baa2b5a65 (diff)
downloadpkgsrc-7b4d62c9093b25bfb9e6d69778d1fc63aa13ef97.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.
-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"