diff options
author | grant <grant> | 2004-11-11 11:49:15 +0000 |
---|---|---|
committer | grant <grant> | 2004-11-11 11:49:15 +0000 |
commit | 3c2e305d1cb76d786347237f788cd47557131d89 (patch) | |
tree | 3ce56998d9cac572a3b9ece65060fc893185ecde /security | |
parent | a597dd8f64e9437e027404b5c76bd3ee75e9c945 (diff) | |
download | pkgsrc-3c2e305d1cb76d786347237f788cd47557131d89.tar.gz |
allow radius support to be disabled by moving it to PKG_OPTIONS.
no PKGREVISION bump as it is still enabled by default.
Diffstat (limited to 'security')
-rw-r--r-- | security/ipsec-tools/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile index 9cfece732bf..a07d6a484b0 100644 --- a/security/ipsec-tools/Makefile +++ b/security/ipsec-tools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/11/11 10:53:08 manu Exp $ +# $NetBSD: Makefile,v 1.7 2004/11/11 11:49:15 grant Exp $ # DISTNAME= ipsec-tools-0.5.pre20041109 @@ -15,7 +15,17 @@ USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-libradius --enable-frag --enable-hybrid +PKG_OPTIONS_VAR= PKG_OPTIONS.ipsec-tools +PKG_DEFAULT_OPTIONS+= radius +PKG_SUPPORTED_OPTIONS+= radius + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mradius) +CONFIGURE_ARGS+= --with-libradius +.endif + +CONFIGURE_ARGS+= --enable-frag --enable-hybrid # Require a kernel patch not integrated yet (IPR problem) #CONFIGURE_ARGS+= --enable-natt |