diff options
author | hubertf <hubertf> | 2002-02-13 23:02:14 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2002-02-13 23:02:14 +0000 |
commit | 9fd6e5a9598cc7c656ea5579557993e0a52d9436 (patch) | |
tree | 506e2dbcae37311f77c301776d6d5fe64907b28e | |
parent | 04e7768dae4aa4b43dc8fa3eb836e587e291b6c4 (diff) | |
download | pkgsrc-9fd6e5a9598cc7c656ea5579557993e0a52d9436.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} ; \ |