pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/stunnel Expose libwrap through options.mk (no...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e07bb60f0e05
branches: trunk
changeset: 547554:e07bb60f0e05
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Fri Sep 19 19:20:57 2008 +0000
description:
Expose libwrap through options.mk (no change to default builds)
diffstat:
security/stunnel/options.mk | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 79bd69832721 -r e07bb60f0e05 security/stunnel/options.mk
--- a/security/stunnel/options.mk Fri Sep 19 19:16:45 2008 +0000
+++ b/security/stunnel/options.mk Fri Sep 19 19:20:57 2008 +0000
@@ -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 @@
.else
CONFIGURE_ARGS+= --with-threads=fork
.endif
+
+###
+### Support libwrap
+###
+.if !empty(PKG_OPTIONS:Mlibwrap)
+CONFIGURE_ARGS+= --enable-libwrap
+.else
+CONFIGURE_ARGS+= --disable-libwrap
+.endif
Home |
Main Index |
Thread Index |
Old Index