diff options
author | se <se@FreeBSD.org> | 2002-07-10 17:51:50 +0800 |
---|---|---|
committer | se <se@FreeBSD.org> | 2002-07-10 17:51:50 +0800 |
commit | e2bb3c54d3c4d45e49e842f5af921b3a0d921fd3 (patch) | |
tree | 9679f52ff8e7e3e004c78dca9ccaeb3ff63ce390 /net-mgmt | |
parent | 7254f3222c88ddd0add9c0a51425848fbdfcfdf1 (diff) | |
download | freebsd-ports-gnome-e2bb3c54d3c4d45e49e842f5af921b3a0d921fd3.tar.gz freebsd-ports-gnome-e2bb3c54d3c4d45e49e842f5af921b3a0d921fd3.tar.zst freebsd-ports-gnome-e2bb3c54d3c4d45e49e842f5af921b3a0d921fd3.zip |
Add optional SASL functionality based on a WITH_SASL variable.
Submitted by: Johann Visagie <wjv@FreeBSD.org>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/argus/Makefile | 7 | ||||
-rw-r--r-- | net-mgmt/argus/files/patch-configure | 11 |
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" |