diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-15 13:20:57 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-15 13:20:57 +0000 |
commit | ae3dae849bf35fc7853ba5242cc09f76eca22816 (patch) | |
tree | d38ddf8bf32a0c9978a4925c94d4e94fe1b99219 /mk | |
parent | 261b21fedf726653cd14ac69d580df36195f83fc (diff) | |
download | pkgsrc-ae3dae849bf35fc7853ba5242cc09f76eca22816.tar.gz |
Use the new pkg_add -m for cross-compiling instead of -f.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/flavor/pkg/package.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/flavor/pkg/package.mk b/mk/flavor/pkg/package.mk index 0d8c7b3131d..f54ba7cdbaf 100644 --- a/mk/flavor/pkg/package.mk +++ b/mk/flavor/pkg/package.mk @@ -1,4 +1,4 @@ -# $NetBSD: package.mk,v 1.9 2007/08/03 14:03:40 joerg Exp $ +# $NetBSD: package.mk,v 1.10 2007/08/15 13:20:57 joerg Exp $ PKG_SUFX?= .tgz PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX} @@ -145,7 +145,7 @@ su-real-package-install: @${PHASE_MSG} "Install binary package of "${PKGNAME:Q} .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) @${MKDIR} ${_CROSS_DESTDIR}${PREFIX} - ${PKG_ADD} -f -I -p ${_CROSS_DESTDIR}${PREFIX} ${PKGFILE} + ${PKG_ADD} -m ${MACHINE_ARCH} -I -p ${_CROSS_DESTDIR}${PREFIX} ${PKGFILE} @${ECHO} "Fixing recorded cwd..." @${SED} -e 's|@cwd ${_CROSS_DESTDIR}|@cwd |' ${_PKG_DBDIR}/${PKGNAME:Q}/+CONTENTS > ${_PKG_DBDIR}/${PKGNAME:Q}/+CONTENTS.tmp @${MV} ${_PKG_DBDIR}/${PKGNAME:Q}/+CONTENTS.tmp ${_PKG_DBDIR}/${PKGNAME:Q}/+CONTENTS |