diff options
author | martti <martti@pkgsrc.org> | 2003-09-05 13:54:13 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2003-09-05 13:54:13 +0000 |
commit | f976153870041fabce3864204df06072a734ae6f (patch) | |
tree | e9961e0ce4539313d6a405a0304e33dbad722c90 /mk | |
parent | cb2844b6c5727ae1d9a6c4cc7db9ea4a4cb03b7e (diff) | |
download | pkgsrc-f976153870041fabce3864204df06072a734ae6f.tar.gz |
Use LOCALBASE instead of ZOULARISBASE
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defs.Darwin.mk | 11 | ||||
-rw-r--r-- | mk/defs.Linux.mk | 15 |
2 files changed, 18 insertions, 8 deletions
diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk index cc5c6c43212..0426729e7d3 100644 --- a/mk/defs.Darwin.mk +++ b/mk/defs.Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Darwin.mk,v 1.53 2003/09/02 06:59:44 jlam Exp $ +# $NetBSD: defs.Darwin.mk,v 1.54 2003/09/05 13:54:13 martti Exp $ # # Variable definitions for the Darwin operating system. @@ -77,7 +77,7 @@ GROUPADD?= ${FALSE} # XXX - Fix me! MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type MOTIF12_TYPE_DEFAULT?= lesstif12 # default 1.2 compatible libs type NOLOGIN?= ${FALSE} -PKG_TOOLS_BIN?= ${ZOULARISBASE}/sbin +PKG_TOOLS_BIN?= ${LOCALBASE}/sbin ROOT_CMD?= sudo sh -c ROOT_GROUP?= wheel ROOT_USER?= root @@ -86,7 +86,6 @@ ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` USERADD?= ${FALSE} # XXX - Fix me! -ZOULARISBASE?= ${LOCALBASE} PKG_CREATE_USERGROUP?= NO # XXX - Until then @@ -129,3 +128,9 @@ _OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive _STRIPFLAG_CC?= -Wl,-x # cc(1) option to strip _STRIPFLAG_INSTALL?= -s # install(1) option to strip .endif + +LOCALBASE?= ${DESTDIR}/usr/pkg +.if exists(${LOCALBASE}/sbin/pkg_info) +PKG_TOOLS_BIN?= ${LOCALBASE}/sbin +.endif +PKG_TOOLS_BIN?= ${LOCALBASE}/bin diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index 9f4f0025ee4..4bcdd49c90b 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.57 2003/09/02 06:59:45 jlam Exp $ +# $NetBSD: defs.Linux.mk,v 1.58 2003/09/05 13:54:14 martti Exp $ # # Variable definitions for the Linux operating system. @@ -73,7 +73,7 @@ LN?= /bin/ln LS?= /bin/ls M4?= /usr/bin/m4 MKDIR?= /bin/mkdir -p -MTREE?= ${ZOULARISBASE}/sbin/mtree +MTREE?= ${LOCALBASE}/sbin/mtree MV?= /bin/mv .if exists(/bin/nice) NICE?= /bin/nice @@ -81,7 +81,7 @@ NICE?= /bin/nice NICE?= /usr/bin/nice .endif PATCH?= /usr/bin/patch -PAX?= ${ZOULARISBASE}/bin/pax +PAX?= ${LOCALBASE}/bin/pax PERL5?= ${LOCALBASE}/bin/perl PKGLOCALEDIR?= share PS?= /bin/ps @@ -129,7 +129,7 @@ GROUPADD?= /usr/sbin/groupadd MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type MOTIF12_TYPE_DEFAULT?= lesstif12 # default 1.2 compatible libs type NOLOGIN?= ${FALSE} -PKG_TOOLS_BIN?= ${ZOULARISBASE}/sbin +PKG_TOOLS_BIN?= ${LOCALBASE}/sbin ROOT_CMD?= ${SU} - root -c ROOT_GROUP?= root ROOT_USER?= root @@ -138,7 +138,6 @@ ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` USERADD?= /usr/sbin/useradd -ZOULARISBASE?= /usr/pkg # imake installs manpages in weird places # these values from /usr/X11R6/lib/X11/config/linux.cf @@ -178,3 +177,9 @@ _OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive _STRIPFLAG_CC?= -s # cc(1) option to strip _STRIPFLAG_INSTALL?= -s # install(1) option to strip .endif + +LOCALBASE?= ${DESTDIR}/usr/pkg +.if exists(${LOCALBASE}/sbin/pkg_info) +PKG_TOOLS_BIN?= ${LOCALBASE}/sbin +.endif +PKG_TOOLS_BIN?= ${LOCALBASE}/bin |