summaryrefslogtreecommitdiff
path: root/mk/platform/HPUX.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/HPUX.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/HPUX.mk')
-rw-r--r--mk/platform/HPUX.mk17
1 files changed, 6 insertions, 11 deletions
diff --git a/mk/platform/HPUX.mk b/mk/platform/HPUX.mk
index 8e3287ab54a..c0e8754d7d1 100644
--- a/mk/platform/HPUX.mk
+++ b/mk/platform/HPUX.mk
@@ -1,11 +1,9 @@
-# $NetBSD: HPUX.mk,v 1.8 2007/10/16 12:11:25 tnn Exp $
+# $NetBSD: HPUX.mk,v 1.9 2007/10/18 21:52:23 rillig Exp $
#
# Variable definitions for the HP-UX operating system.
CPP?= /opt/langtools/lbin/cpp
ECHO_N?= /usr/bin/printf # echo doesn't understand -n
-IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake
-PKGLOCALEDIR?= share
PS?= /bin/ps
SU?= /usr/bin/su
TYPE?= type # Shell builtin
@@ -13,19 +11,14 @@ TYPE?= type # Shell builtin
USERADD?= /usr/sbin/useradd
GROUPADD?= /usr/sbin/groupadd
-CPP_PRECOMP_FLAGS?= # unset
-DEF_UMASK?= 0022
EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table
MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type
NOLOGIN?= /etc/nologin
-PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
ROOT_CMD?= ${SU} - root -c
ROOT_USER?= root
ROOT_GROUP?= sys
TOUCH_FLAGS?= # touch doesn't understand -f
-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
# these values from /usr/X11R6/lib/X11/config/NetBSD.cf
IMAKE_MAN_SOURCE_PATH= man/cat
@@ -78,5 +71,7 @@ KRB5_DEFAULT?= mit-krb5
PREFER.openssl?= pkgsrc
PREFER.zlib?= pkgsrc
-_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U} # cc(1) option to strip
-_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U} # install(1) option to strip
+_STRIPFLAG_CC?= # none; XXX: why?
+_STRIPFLAG_INSTALL?= # none; XXX: why?
+
+.include "${.PARSEDIR}/defaults.mk"