aboutsummaryrefslogtreecommitdiff
path: root/security/oidentd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 21:02:39 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 21:02:39 +0000
commit0b881b0ecebc9440a559f1c2b27758488a1188fa (patch)
tree933fd11da647dda8c169bc24693094174bdc0355 /security/oidentd
parent928d434bd206738b7213dd9b5802c680794a9b10 (diff)
downloadports-0b881b0ecebc9440a559f1c2b27758488a1188fa.tar.gz
ports-0b881b0ecebc9440a559f1c2b27758488a1188fa.zip
Convert security to new options framework
Notes
Notes: svn path=/head/; revision=316749
Diffstat (limited to 'security/oidentd')
-rw-r--r--security/oidentd/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/oidentd/Makefile b/security/oidentd/Makefile
index 80eecea55a79..f66980e923a3 100644
--- a/security/oidentd/Makefile
+++ b/security/oidentd/Makefile
@@ -19,18 +19,19 @@ PLIST_FILES= sbin/oidentd etc/oidentd.conf.sample \
etc/oidentd_masq.conf.sample
USE_CSTD= gnu89
-OPTIONS= IPV6 "Enable IPv6 support" on \
- MASQ "Enable NAT/IP masq support" on
+OPTIONS_DEFINE= IPV6 MASQ
+OPTIONS_DEFAULT= MASQ
+MASQ_DESC= Enable NAT/IP masq support
.include <bsd.port.pre.mk>
-.if defined(WITHOUT_IPV6)
+.if ! ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+=--disable-ipv6
.else
CATEGORIES+= ipv6
.endif
-.if defined(WITHOUT_MASQ) || ${OSVERSION} >= 800000
+.if ! ${PORT_OPTIONS:MMASQ} || ${OSVERSION} >= 800000
CONFIGURE_ARGS+=--disable-masq
.endif