summaryrefslogtreecommitdiff
path: root/security/pam-ldap/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-26 09:41:05 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-26 09:41:05 +0000
commit0538ec5b33e56381337ee00b1bb6243bc3bc3c7a (patch)
tree72df1816f530edc041bc86199cc3b570f108bb16 /security/pam-ldap/Makefile
parent5e3a5f058c91d0aa52878c8328d2a2085191f2d5 (diff)
downloadpkgsrc-0538ec5b33e56381337ee00b1bb6243bc3bc3c7a.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'security/pam-ldap/Makefile')
-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}