summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2002-07-10 09:51:50 +0000
committerStefan Eßer <se@FreeBSD.org>2002-07-10 09:51:50 +0000
commit664381b51e596fd1c2025b87b1bb196939ae6493 (patch)
tree766e1d098eb9e6c501d12655ea292998914bb4b8 /net-mgmt
parentUpdated to 1.11 (diff)
Add optional SASL functionality based on a WITH_SASL variable.
Submitted by: Johann Visagie <wjv@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=62753
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/argus/Makefile7
-rw-r--r--net-mgmt/argus/files/patch-configure11
2 files changed, 18 insertions, 0 deletions
diff --git a/net-mgmt/argus/Makefile b/net-mgmt/argus/Makefile
index 6f8f502887c9..bcdd8fc8f77b 100644
--- a/net-mgmt/argus/Makefile
+++ b/net-mgmt/argus/Makefile
@@ -16,10 +16,17 @@ MAINTAINER= se@freebsd.org
.if !exists(/usr/include/tcpd.h)
LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper
.endif
+.if defined(WITH_SASL)
+LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
+.endif
USE_BISON= true
GNU_CONFIGURE= true
CONFIGURE_ARGS= --exec-prefix=${PREFIX} #--without-flex --without-bison
+.if defined(WITH_SASL)
+CONFIGURE_ARGS+= --with-sasl=${PREFIX}
+CFLAGS+= -I${PREFIX}/include/sasl
+.endif
MAN1= ra.1 racount.1 ragator.1 ramon.1 rasort.1 raxml.1
MAN5= argus.5 argus.conf.5 rarc.5
diff --git a/net-mgmt/argus/files/patch-configure b/net-mgmt/argus/files/patch-configure
new file mode 100644
index 000000000000..2176dbc37cdc
--- /dev/null
+++ b/net-mgmt/argus/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Thu May 30 21:30:19 2002
++++ configure Tue Jul 9 10:50:46 2002
+@@ -1644,7 +1644,7 @@
+
+ if test -d ${with_sasl}; then
+ ac_cv_sasl_where_lib=${with_sasl}/lib
+- ac_cv_sasl_where_inc=${with_sasl}/include
++ ac_cv_sasl_where_inc=${with_sasl}/include/sasl
+
+ SASLFLAGS="-I$ac_cv_sasl_where_inc"
+ LIB_SASL="-L$ac_cv_sasl_where_lib"