diff options
author | rillig <rillig@pkgsrc.org> | 2007-10-19 13:41:34 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-10-19 13:41:34 +0000 |
commit | 034b8390a818b7029a370987c5412678a54bb42d (patch) | |
tree | 07f18993d0ef18af77c1794c8875b5205b48b2c0 /mk/platform/HPUX.mk | |
parent | 1026094a3a122df81fbd00a0af7a3cfdfd1b3cd8 (diff) | |
download | pkgsrc-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/HPUX.mk')
-rw-r--r-- | mk/platform/HPUX.mk | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/mk/platform/HPUX.mk b/mk/platform/HPUX.mk index c0e8754d7d1..e02c573a2f9 100644 --- a/mk/platform/HPUX.mk +++ b/mk/platform/HPUX.mk @@ -1,9 +1,11 @@ -# $NetBSD: HPUX.mk,v 1.9 2007/10/18 21:52:23 rillig Exp $ +# $NetBSD: HPUX.mk,v 1.10 2007/10/19 13:41:35 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 @@ -11,14 +13,19 @@ 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 @@ -71,7 +78,5 @@ KRB5_DEFAULT?= mit-krb5 PREFER.openssl?= pkgsrc PREFER.zlib?= pkgsrc -_STRIPFLAG_CC?= # none; XXX: why? -_STRIPFLAG_INSTALL?= # none; XXX: why? - -.include "${.PARSEDIR}/defaults.mk" +_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U} # cc(1) option to strip +_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U} # install(1) option to strip |