summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2020-07-15 19:35:04 +0000
committerschmonz <schmonz@pkgsrc.org>2020-07-15 19:35:04 +0000
commit7f918028fed50c687dd872ea030533344ba91cf8 (patch)
treebdb0bc887f62a13fa601828e0697735bd00fbd88 /security
parent022d4d0cdf5d169049a9174aa3fb0bea202f4689 (diff)
downloadpkgsrc-7f918028fed50c687dd872ea030533344ba91cf8.tar.gz
Strip -lcrypt on macOS, which (at least in recent versions) doesn't have it.
Diffstat (limited to 'security')
-rw-r--r--security/openpam/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/openpam/Makefile b/security/openpam/Makefile
index 4b9699fe287..3938dd578e8 100644
--- a/security/openpam/Makefile
+++ b/security/openpam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2020/03/18 12:20:45 tnn Exp $
+# $NetBSD: Makefile,v 1.34 2020/07/15 19:35:04 schmonz Exp $
DISTNAME= openpam-20190224
PKGREVISION= 1
@@ -21,6 +21,8 @@ CONFIGURE_ARGS+= --with-modules-dir=${PREFIX}/lib/security
CPPFLAGS+= -DSYSCONFDIR=\"${PKG_SYSCONFDIR}\"
+BUILDLINK_TRANSFORM.Darwin+= rm:-lcrypt
+
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES+= ${EGDIR}/pam.d/other ${PKG_SYSCONFDIR}/pam.d/other
CONF_FILES+= ${EGDIR}/pam.d/sudo ${PKG_SYSCONFDIR}/pam.d/sudo