diff options
author | adrianp <adrianp> | 2008-09-19 19:20:57 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2008-09-19 19:20:57 +0000 |
commit | 64d42623cfc974ab52a6f3b3925936a76c082039 (patch) | |
tree | 0b82aca5f2a11d6856b36c37900c7eee2ff04d45 | |
parent | e3ff2985ed1b8e5871b2d06c2e0298119a59cf80 (diff) | |
download | pkgsrc-64d42623cfc974ab52a6f3b3925936a76c082039.tar.gz |
Expose libwrap through options.mk (no change to default builds)
-rw-r--r-- | security/stunnel/options.mk | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/security/stunnel/options.mk b/security/stunnel/options.mk index 6fcaf194329..e532720c33b 100644 --- a/security/stunnel/options.mk +++ b/security/stunnel/options.mk @@ -1,9 +1,10 @@ -# $NetBSD: options.mk,v 1.3 2007/08/11 14:41:36 schmonz Exp $ +# $NetBSD: options.mk,v 1.4 2008/09/19 19:20:57 adrianp Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.stunnel -PKG_SUPPORTED_OPTIONS= inet6 pthread +PKG_SUPPORTED_OPTIONS= inet6 pthread libwrap +PKG_SUGGESTED_OPTIONS= libwrap .if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none" -PKG_SUGGESTED_OPTIONS+= pthread +PKG_SUGGESTED_OPTIONS+= pthread .endif .include "../../mk/bsd.options.mk" @@ -27,3 +28,12 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \ .else CONFIGURE_ARGS+= --with-threads=fork .endif + +### +### Support libwrap +### +.if !empty(PKG_OPTIONS:Mlibwrap) +CONFIGURE_ARGS+= --enable-libwrap +.else +CONFIGURE_ARGS+= --disable-libwrap +.endif |