diff options
author | hubertf <hubertf@pkgsrc.org> | 2002-02-13 23:02:14 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2002-02-13 23:02:14 +0000 |
commit | 495230ed7986f4b8f98677eeb0f9e855cf994acc (patch) | |
tree | 506e2dbcae37311f77c301776d6d5fe64907b28e | |
parent | 22b284ab1cb5f09dd1f2fbc57a38d28e0e8a4e61 (diff) | |
download | pkgsrc-495230ed7986f4b8f98677eeb0f9e855cf994acc.tar.gz |
bin-install: use $MACHINE_ARCH over calling uname
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 042384dd44d..c610c8feeb5 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.925 2002/02/13 22:59:53 hubertf Exp $ +# $NetBSD: bsd.pkg.mk,v 1.926 2002/02/13 23:02:14 hubertf Exp $ # # This file is in the public domain. # @@ -2877,7 +2877,7 @@ bin-install: ${PKG_ADD} ${PKGFILE} ; \ else \ rel=`${UNAME} -r | ${SED} 's@\.\([0-9]*\)[\._].*@\.\1@'`; \ - arch=`uname -p`; \ + arch=${MACHINE_ARCH}; \ for site in ${BINPKG_SITE} ; do \ ${ECHO} Trying `eval ${ECHO} $$site`/All ; \ ${SHCOMMENT} ${ECHO} ${SETENV} PKG_PATH="`eval ${ECHO} $$site`/All" ${PKG_ADD} ${BIN_INSTALL_FLAGS} ${PKGNAME}${PKG_SUFX} ; \ |