summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-06-27 19:52:13 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-06-27 19:52:13 +0000
commita61925225764f1ab64e31639eae169eb529c7758 (patch)
tree75a63eed7f902250d8003350b2b37ac8f92bb384 /security
parent- Mark BROKEN: does not package (diff)
Convert to new options framework
Notes
Notes: svn path=/head/; revision=300111
Diffstat (limited to 'security')
-rw-r--r--security/gsasl/Makefile10
-rw-r--r--security/gss/Makefile12
-rw-r--r--security/shishi/Makefile12
3 files changed, 19 insertions, 15 deletions
diff --git a/security/gsasl/Makefile b/security/gsasl/Makefile
index ea915b443fdd..b0ea0989b4e2 100644
--- a/security/gsasl/Makefile
+++ b/security/gsasl/Makefile
@@ -27,12 +27,14 @@ USE_LDCONFIG= yes
INFO= gsasl
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
CPPFLAGS+= -nostdinc -I/usr/include -I${LOCALBASE}/include
diff --git a/security/gss/Makefile b/security/gss/Makefile
index 788b6c1e0490..59b32ee0c3be 100644
--- a/security/gss/Makefile
+++ b/security/gss/Makefile
@@ -31,14 +31,14 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include "Makefile.man"
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.ifdef WITHOUT_NLS
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
post-configure:
@@ -53,4 +53,4 @@ post-install:
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/shishi/Makefile b/security/shishi/Makefile
index 9af4ae665a98..b70a2c77f0a7 100644
--- a/security/shishi/Makefile
+++ b/security/shishi/Makefile
@@ -36,16 +36,18 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include "Makefile.man"
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
+.include <bsd.port.pre.mk>
+
.if ${OSVERSION} < 800000
CONFIGURE_ARGS+= gl_cv_func_stat_dir_slash="guessing yes" \
gl_cv_func_stat_file_slash="guessing yes"