pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk handle older NetBSD systems where bootstrap-pkgsrc ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2139a65a102
branches:  trunk
changeset: 464469:d2139a65a102
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed Dec 10 13:37:48 2003 +0000

description:
handle older NetBSD systems where bootstrap-pkgsrc is needed, and
therefore the pkgtools are in ${LOCALBASE}/sbin. patch from krister.

diffstat:

 mk/defs.NetBSD.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 326d81496f75 -r d2139a65a102 mk/defs.NetBSD.mk
--- a/mk/defs.NetBSD.mk Wed Dec 10 09:08:24 2003 +0000
+++ b/mk/defs.NetBSD.mk Wed Dec 10 13:37:48 2003 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index