summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-04-04 10:24:14 +0000
committerjperkin <jperkin@pkgsrc.org>2013-04-04 10:24:14 +0000
commitdd40490a1a6bded367be6263b71b6808263abfae (patch)
tree8912c430456720a5b4af0f2897a5da1e9ea99a1c /mk
parent661ff848ca8046c50dd160d97a77602f46e881cf (diff)
downloadpkgsrc-dd40490a1a6bded367be6263b71b6808263abfae.tar.gz
Default to the native linux-pam implementation. It is available
since at least Leopard (10.5) and the security/PAM package does not currently build, breaking PREFER_PKGSRC=yes.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/Darwin.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index 989e272e380..ad845561085 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.50 2013/02/04 15:53:16 wiz Exp $
+# $NetBSD: Darwin.mk,v 1.51 2013/04/04 10:24:14 jperkin Exp $
#
# Variable definitions for the Darwin operating system.
@@ -88,6 +88,9 @@ _PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -V simple -b -z # switch to patch(1) for backup suffix
_USE_RPATH= no # don't add rpath to LDFLAGS
+# Builtin defaults which make sense for this platform.
+PREFER.linux-pam?= native
+
# flags passed to the linker to extract all symbols from static archives.
# this is GNU ld.
_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive