Fri Sep 19 19:20:58 2008 UTC ()
Expose libwrap through options.mk (no change to default builds)


(adrianp)
diff -r1.3 -r1.4 pkgsrc/security/stunnel/options.mk

cvs diff -r1.3 -r1.4 pkgsrc/security/stunnel/options.mk (expand / switch to unified diff)

--- pkgsrc/security/stunnel/options.mk 2007/08/11 14:41:36 1.3
+++ pkgsrc/security/stunnel/options.mk 2008/09/19 19:20:57 1.4
@@ -1,29 +1,39 @@ @@ -1,29 +1,39 @@
1# $NetBSD: options.mk,v 1.3 2007/08/11 14:41:36 schmonz Exp $ 1# $NetBSD: options.mk,v 1.4 2008/09/19 19:20:57 adrianp Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.stunnel 3PKG_OPTIONS_VAR= PKG_OPTIONS.stunnel
4PKG_SUPPORTED_OPTIONS= inet6 pthread 4PKG_SUPPORTED_OPTIONS= inet6 pthread libwrap
 5PKG_SUGGESTED_OPTIONS= libwrap
5.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none" 6.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none"
6PKG_SUGGESTED_OPTIONS+= pthread 7PKG_SUGGESTED_OPTIONS+= pthread
7.endif 8.endif
8 9
9.include "../../mk/bsd.options.mk" 10.include "../../mk/bsd.options.mk"
10 11
11### 12###
12### Support IPv6 13### Support IPv6
13### 14###
14.if !empty(PKG_OPTIONS:Minet6) 15.if !empty(PKG_OPTIONS:Minet6)
15CONFIGURE_ARGS+= --enable-ipv6 16CONFIGURE_ARGS+= --enable-ipv6
16.else 17.else
17CONFIGURE_ARGS+= --disable-ipv6 18CONFIGURE_ARGS+= --disable-ipv6
18.endif 19.endif
19 20
20### 21###
21### Support pthreads 22### Support pthreads
22### 23###
23.if !empty(PKG_OPTIONS:Mpthread) 24.if !empty(PKG_OPTIONS:Mpthread)
24CONFIGURE_ARGS+= --with-threads=pthread 25CONFIGURE_ARGS+= --with-threads=pthread
25CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \ 26CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
26 LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" 27 LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
27.else 28.else
28CONFIGURE_ARGS+= --with-threads=fork 29CONFIGURE_ARGS+= --with-threads=fork
29.endif 30.endif
 31
 32###
 33### Support libwrap
 34###
 35.if !empty(PKG_OPTIONS:Mlibwrap)
 36CONFIGURE_ARGS+= --enable-libwrap
 37.else
 38CONFIGURE_ARGS+= --disable-libwrap
 39.endif