aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_krb5-rh
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 17:39:25 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 17:39:25 +0800
commit7bbd42b097298f7aa2cfe044428f1f9c4243a3cb (patch)
treeb28f98dfecd6328c2f721168c661dd06de72dd2e /security/pam_krb5-rh
parente94fb5667b44cba608bc46fb01ad062c6f58de46 (diff)
downloadfreebsd-ports-gnome-7bbd42b097298f7aa2cfe044428f1f9c4243a3cb.tar.gz
freebsd-ports-gnome-7bbd42b097298f7aa2cfe044428f1f9c4243a3cb.tar.zst
freebsd-ports-gnome-7bbd42b097298f7aa2cfe044428f1f9c4243a3cb.zip
Finish converting security from WITHOUT_NLS to PORT_OPTIONS:MNLS
Diffstat (limited to 'security/pam_krb5-rh')
-rw-r--r--security/pam_krb5-rh/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/security/pam_krb5-rh/Makefile b/security/pam_krb5-rh/Makefile
index 98a7e10ece66..2c3b5e720c16 100644
--- a/security/pam_krb5-rh/Makefile
+++ b/security/pam_krb5-rh/Makefile
@@ -26,19 +26,15 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN5= pam_krb5.5
MAN8= pam_krb5.8 pam_krb5_cchelper.8
-.if defined(WITHOUT_NLS)
-PLIST_SUB+= NLS="@comment "
-CONFIGURE_ARGS+=--disable-nls
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
LDFLAGS+= -lintl
USES+= gettext
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800000
-BROKEN= does not build on FreeBSD 7.x
+.else
+PLIST_SUB+= NLS="@comment "
+CONFIGURE_ARGS+=--disable-nls
.endif
post-patch:
@@ -50,4 +46,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|PAM_AUTHTOK_RECOVER_ERR|PAM_AUTHTOK_RECOVERY_ERR|g' \
${WRKSRC}/src/password.c
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>