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
commitf4fd355c86e5d8c2e227727d49a2d054f3672e76 (patch)
tree8912c430456720a5b4af0f2897a5da1e9ea99a1c /mk
parent64c298d672efcf2930282f6b91f8bda924b12495 (diff)
downloadpkgsrc-f4fd355c86e5d8c2e227727d49a2d054f3672e76.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