From e2bb3c54d3c4d45e49e842f5af921b3a0d921fd3 Mon Sep 17 00:00:00 2001 From: se Date: Wed, 10 Jul 2002 09:51:50 +0000 Subject: Add optional SASL functionality based on a WITH_SASL variable. Submitted by: Johann Visagie --- net/argus/Makefile | 7 +++++++ net/argus/files/patch-configure | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 net/argus/files/patch-configure (limited to 'net') 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" -- cgit v1.1