summaryrefslogtreecommitdiff
path: root/security/pam-dbm/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-dbm/Makefile
parent5e3a5f058c91d0aa52878c8328d2a2085191f2d5 (diff)
downloadpkgsrc-0538ec5b33e56381337ee00b1bb6243bc3bc3c7a.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'security/pam-dbm/Makefile')
-rw-r--r--security/pam-dbm/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/security/pam-dbm/Makefile b/security/pam-dbm/Makefile
index a6abc9b06f2..ede93b56fad 100644
--- a/security/pam-dbm/Makefile
+++ b/security/pam-dbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2012/10/23 18:16:48 asau Exp $
+# $NetBSD: Makefile,v 1.12 2016/02/26 09:41:06 jperkin Exp $
#
DISTNAME= pam_dbm-0.2
@@ -20,12 +20,7 @@ BDB_ACCEPTED= db1
# 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
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/authtest ${DESTDIR}${PREFIX}/sbin/pam_dbm-authtest