summaryrefslogtreecommitdiff
path: root/mk/platform/Darwin.mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-10-18 21:52:23 +0000
committerrillig <rillig>2007-10-18 21:52:23 +0000
commit2b927f29fff5a6b820b8383752cc5ef819c13d5b (patch)
tree8bc63956e40e42228866a4cb05bd8547950f5fa7 /mk/platform/Darwin.mk
parent72b74ef969d9d181ffe2eee551ae704976929f17 (diff)
downloadpkgsrc-2b927f29fff5a6b820b8383752cc5ef819c13d5b.tar.gz
Factored out the parts that are common between all the supported
platforms, mainly because it wouldn't have made sense to document the variables in one of those files, but they need to be documented somewhere. Added the file defaults.mk, which now serves as the reference document which provides useful default values and _explains_ the variables.
Diffstat (limited to 'mk/platform/Darwin.mk')
-rw-r--r--mk/platform/Darwin.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index a852a90088a..40e8e252abd 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.24 2007/07/29 05:19:44 jlam Exp $
+# $NetBSD: Darwin.mk,v 1.25 2007/10/18 21:52:23 rillig Exp $
#
# Variable definitions for the Darwin operating system.
@@ -7,7 +7,6 @@ CPP= ${CC} -E ${CPP_PRECOMP_FLAGS}
.endif
ECHO_N?= ${ECHO} -n
LDD?= /usr/bin/otool -L
-IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake
PKGLOCALEDIR?= share
PS?= /bin/ps
# XXX: default from defaults/mk.conf. Verify/correct for this platform
@@ -22,19 +21,14 @@ IMAKEOPTS+= -DInstallFlags=-c # do not set user or group
.if !defined(PKGSRC_COMPILER) || !empty(PKGSRC_COMPILER:Mgcc)
CPP_PRECOMP_FLAGS?= -no-cpp-precomp # use the GNU cpp, not the OS X cpp
.endif
-DEF_UMASK?= 0022
DEFAULT_SERIAL_DEVICE?= /dev/null
EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table
MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type
NOLOGIN?= /usr/bin/false
-PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
ROOT_CMD?= /usr/bin/sudo ${SH} -c
ROOT_GROUP?= wheel
ROOT_USER?= root
SERIAL_DEVICES?= /dev/null
-ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`
-ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
-ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m`
GROUPADD?= ${LOCALBASE}/sbin/groupadd
USERADD?= ${LOCALBASE}/sbin/useradd
@@ -106,3 +100,5 @@ CONFIGURE_ENV+= ac_cv_func_poll=no
#GAMEMODE= 2555
#GAMEDIRMODE= 0775
#.endif
+
+.include "${.PARSEDIR}/defaults.mk"