aboutsummaryrefslogtreecommitdiff
path: root/net/openradius
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-05-30 19:24:01 +0000
committerChris Rees <crees@FreeBSD.org>2012-05-30 19:24:01 +0000
commitdc5bb34822e4676fc9842851d3bf34beee64bb11 (patch)
treef1aca05be92f2af203e6d17b35cd2b91dbfaaf43 /net/openradius
parent3b852dc6d0a2a5cf33ad14406afced27d95473c1 (diff)
downloadports-dc5bb34822e4676fc9842851d3bf34beee64bb11.tar.gz
ports-dc5bb34822e4676fc9842851d3bf34beee64bb11.zip
Notes
Diffstat (limited to 'net/openradius')
-rw-r--r--net/openradius/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/openradius/Makefile b/net/openradius/Makefile
index ebcdbb05a015..e7c163a6ad5f 100644
--- a/net/openradius/Makefile
+++ b/net/openradius/Makefile
@@ -26,11 +26,11 @@ USE_GMAKE= yes
USE_RC_SUBR= openradius
SUB_LIST= LOGFILE="${LOGFILE}"
-OPTIONS= LDAP "With LDAP user database" off
+OPTIONS_DEFINE= LDAP
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_LDAP)
+.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP= YES
PLIST_SUB+= LDAP=""
SCRIPTS_ENV+= USE_LDAP=yes
@@ -93,4 +93,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>