diff -ruN --exclude=CVS /usr/ports/security/stunnel/Makefile /root/portwork/stunnel/Makefile --- /usr/ports/security/stunnel/Makefile 2009-09-25 19:48:28.000000000 -0500 +++ /root/portwork/stunnel/Makefile 2009-09-25 19:53:21.000000000 -0500 @@ -7,6 +7,7 @@ PORTNAME= stunnel PORTVERSION= 4.27 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \ ftp://stunnel.mirt.net/stunnel/ \ @@ -21,8 +22,8 @@ USE_RC_SUBR= stunnel GNU_CONFIGURE= yes -CONFIGURE_ARGS= --localstatedir=/var/tmp --with-pem-dir=${PEM_DIR} \ - --enable-static --disable-fips +CONFIGURE_ARGS+= --localstatedir=/var/tmp --with-pem-dir=${PEM_DIR} \ + --enable-static --disable-fips .if !defined(NOPORTDOCS) MAN8= stunnel.8 stunnel.fr.8 stunnel.pl.8 @@ -33,10 +34,15 @@ OPTIONS= FORK "use the fork(3) threading model" off \ PTHREAD "use the pthread(3) threading model (default)" on \ UCONTEXT "use the ucontext(3) threading model" off \ - IPV6 "enable IPv6 support" off + LIBWRAP "use TCP wrappers" on \ + IPV6 "enable IPv6 support" off .include +.if !defined(WITH_LIBWRAP) +CONFIGURE_ARGS+= --disable-libwrap +.endif + .if defined(WITH_IPV6) CONFIGURE_ARGS+= --enable-ipv6 .endif