summaryrefslogtreecommitdiff
path: root/mk/platform/FreeBSD.mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-10-19 13:41:34 +0000
committerrillig <rillig>2007-10-19 13:41:34 +0000
commitb5eda58de695d1277d8bde67c3889475e5678549 (patch)
tree07f18993d0ef18af77c1794c8875b5205b48b2c0 /mk/platform/FreeBSD.mk
parent1b7cf8e57546cb7d866501952c4fa36f0fdb617f (diff)
downloadpkgsrc-b5eda58de695d1277d8bde67c3889475e5678549.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/FreeBSD.mk')
-rw-r--r--mk/platform/FreeBSD.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/mk/platform/FreeBSD.mk b/mk/platform/FreeBSD.mk
index aed07b2805a..0948d8bdba5 100644
--- a/mk/platform/FreeBSD.mk
+++ b/mk/platform/FreeBSD.mk
@@ -1,15 +1,19 @@
-# $NetBSD: FreeBSD.mk,v 1.22 2007/10/18 21:52:23 rillig Exp $
+# $NetBSD: FreeBSD.mk,v 1.23 2007/10/19 13:41:35 rillig Exp $
#
# Variable definitions for the FreeBSD operating system.
BRANDELF?= /usr/bin/brandelf # used by linux compat layer
ECHO_N?= ${ECHO} -n
+IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake
IMAKEOPTS+= -DBuildHtmlManPages=NO
+PKGLOCALEDIR?= share
PS?= /bin/ps
PW?= /usr/sbin/pw
SU?= /usr/bin/su
TYPE?= type # Shell builtin
+CPP_PRECOMP_FLAGS?= # unset
+DEF_UMASK?= 0022
.if ${OBJECT_FMT} == "ELF"
EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table
.else
@@ -17,9 +21,13 @@ EXPORT_SYMBOLS_LDFLAGS?=-Wl,--export-dynamic
.endif
MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type
NOLOGIN?= /sbin/nologin
+PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
ROOT_CMD?= ${SU} - root -c
ROOT_USER?= root
ROOT_GROUP?= wheel
+ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`
+ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
+ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m`
# imake installs manpages in weird places
IMAKE_MAN_SOURCE_PATH= man/man
@@ -86,5 +94,3 @@ GAMEGRP= games
GAMEMODE= 2555
GAMEDIRMODE= 0775
.endif
-
-.include "${.PARSEDIR}/defaults.mk"