diff options
author | grant <grant> | 2003-12-10 13:37:48 +0000 |
---|---|---|
committer | grant <grant> | 2003-12-10 13:37:48 +0000 |
commit | c34990f6dd92efc9dd886aaf29a53f5f71fd06a4 (patch) | |
tree | 6b6faa3129c7824698ae27c989623a30d0a05df8 /mk | |
parent | 36c9d17de7c7d18285fe0a7cd981700cd263a8ab (diff) | |
download | pkgsrc-c34990f6dd92efc9dd886aaf29a53f5f71fd06a4.tar.gz |
handle older NetBSD systems where bootstrap-pkgsrc is needed, and
therefore the pkgtools are in ${LOCALBASE}/sbin. patch from krister.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defs.NetBSD.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk index 7f7d72ed7d3..11341e4cbdc 100644 --- a/mk/defs.NetBSD.mk +++ b/mk/defs.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.NetBSD.mk,v 1.55 2003/10/19 07:38:31 grant Exp $ +# $NetBSD: defs.NetBSD.mk,v 1.56 2003/12/10 13:37:48 grant Exp $ # # Variable definitions for the NetBSD operating system. @@ -98,7 +98,11 @@ EXPORT_SYMBOLS_LDFLAGS?=-Wl,--export-dynamic MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type MOTIF12_TYPE_DEFAULT?= lesstif12 # default 1.2 compatible libs type NOLOGIN?= /sbin/nologin +.if exists(${LOCALBASE}/sbin/pkg_info) +PKG_TOOLS_BIN?= ${LOCALBASE}/sbin +.else PKG_TOOLS_BIN?= /usr/sbin +.endif ROOT_CMD?= ${SU} - root -c ROOT_USER?= root ROOT_GROUP?= wheel |