summaryrefslogtreecommitdiff
path: root/security/pam-ldap
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-26 09:41:05 +0000
committerjperkin <jperkin>2016-02-26 09:41:05 +0000
commitde37916b80b2468bc4a685bb71738de502b3f2bc (patch)
tree72df1816f530edc041bc86199cc3b570f108bb16 /security/pam-ldap
parent60acd6dea8e3b0fa821a2a6a71161483f21a7028 (diff)
downloadpkgsrc-de37916b80b2468bc4a685bb71738de502b3f2bc.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'security/pam-ldap')
-rw-r--r--security/pam-ldap/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/security/pam-ldap/Makefile b/security/pam-ldap/Makefile
index 6864a79da7f..f295e1ca222 100644
--- a/security/pam-ldap/Makefile
+++ b/security/pam-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2014/07/28 18:23:39 fhajny Exp $
+# $NetBSD: Makefile,v 1.44 2016/02/26 09:41:06 jperkin Exp $
DISTNAME= pam_ldap-186
PKGNAME= ${DISTNAME:S/_/-/}
@@ -25,11 +25,7 @@ CONFIGURE_ARGS+= --with-ldap-secret-file=${PKG_SYSCONFDIR}/ldap.secret
# Fix (workaround?) a bug with openpam/NetBSD
# The bug is described in PR security/39313.
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-CFLAGS+= -DNO_STATIC_MODULES
-.endif
+CFLAGS.NetBSD+= -DNO_STATIC_MODULES
# shared with databases/nss_ldap
EGDIR= ${PREFIX}/share/examples/${PKGBASE}