summaryrefslogtreecommitdiff
path: root/mk/platform/Darwin.mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-10-19 13:41:34 +0000
committerrillig <rillig@pkgsrc.org>2007-10-19 13:41:34 +0000
commit034b8390a818b7029a370987c5412678a54bb42d (patch)
tree07f18993d0ef18af77c1794c8875b5205b48b2c0 /mk/platform/Darwin.mk
parent1026094a3a122df81fbd00a0af7a3cfdfd1b3cd8 (diff)
downloadpkgsrc-034b8390a818b7029a370987c5412678a54bb42d.tar.gz
Reverted the last changes, which factored out some definitions that are
usually the same on the supported platforms. The reason for having duplicate code in these files is to make it easier to port pkgsrc to a new platform: You just have to copy one of the existing platform files and edit the values in it. With some values factored out, you would have to look at one more file. Pointed out by agc@.
Diffstat (limited to 'mk/platform/Darwin.mk')
-rw-r--r--mk/platform/Darwin.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index 40e8e252abd..4dc966ca065 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.25 2007/10/18 21:52:23 rillig Exp $
+# $NetBSD: Darwin.mk,v 1.26 2007/10/19 13:41:35 rillig Exp $
#
# Variable definitions for the Darwin operating system.
@@ -7,6 +7,7 @@ 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
@@ -21,14 +22,19 @@ 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
@@ -100,5 +106,3 @@ CONFIGURE_ENV+= ac_cv_func_poll=no
#GAMEMODE= 2555
#GAMEDIRMODE= 0775
#.endif
-
-.include "${.PARSEDIR}/defaults.mk"