diff options
author | se <se@FreeBSD.org> | 2002-07-10 09:51:50 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 2002-07-10 09:51:50 +0000 |
commit | e2bb3c54d3c4d45e49e842f5af921b3a0d921fd3 (patch) | |
tree | 9679f52ff8e7e3e004c78dca9ccaeb3ff63ce390 /net | |
parent | 7254f3222c88ddd0add9c0a51425848fbdfcfdf1 (diff) | |
download | FreeBSD-ports-e2bb3c54d3c4d45e49e842f5af921b3a0d921fd3.zip FreeBSD-ports-e2bb3c54d3c4d45e49e842f5af921b3a0d921fd3.tar.gz |
Add optional SASL functionality based on a WITH_SASL variable.
Submitted by: Johann Visagie <wjv@FreeBSD.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/argus/Makefile | 7 | ||||
-rw-r--r-- | net/argus/files/patch-configure | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/net/argus/Makefile b/net/argus/Makefile index 6f8f502..bcdd8fc 100644 --- a/net/argus/Makefile +++ b/net/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/argus/files/patch-configure b/net/argus/files/patch-configure new file mode 100644 index 0000000..2176dbc --- /dev/null +++ b/net/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" |