diff options
author | adrianp <adrianp@pkgsrc.org> | 2008-09-19 19:20:57 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2008-09-19 19:20:57 +0000 |
commit | 22a9586aafdcb1526adda43000a629e3b9044efd (patch) | |
tree | 0b82aca5f2a11d6856b36c37900c7eee2ff04d45 /security/stunnel | |
parent | d03b55d82e9b3cefe7a723d7e7d4d9f9cc418003 (diff) | |
download | pkgsrc-22a9586aafdcb1526adda43000a629e3b9044efd.tar.gz |
Expose libwrap through options.mk (no change to default builds)
Diffstat (limited to 'security/stunnel')
-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 |