Use pkgsrc packages from a custom location.
authorSimon Schubert <corecode@dragonflybsd.org>
Sat, 4 Aug 2007 00:52:49 +0000 (00:52 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Sat, 4 Aug 2007 00:52:49 +0000 (00:52 +0000)
nrelease/Makefile

index 5d06f04..3bd644e 100644 (file)
@@ -1,4 +1,4 @@
-# $DragonFly: src/nrelease/Makefile,v 1.69 2007/08/03 08:00:06 dillon Exp $
+# $DragonFly: src/nrelease/Makefile,v 1.70 2007/08/04 00:52:49 corecode Exp $
 #
 
 # compat target
@@ -196,7 +196,7 @@ customizeiso:
        rm -rf ${ISOROOT}/tmp/packages
        mkdir ${ISOROOT}/tmp/packages
 .for PKG in ${PKGSRC_PACKAGES}
-       cp ${ISODIR}/packages/${PKG} ${ISOROOT}/tmp/packages
+       cp ${PKGSRC_PKG_PATH}/${PKG} ${ISOROOT}/tmp/packages
 .endfor
 .for PKG in ${PKGSRC_PACKAGES}
        ${ENV} PKG_PATH=/tmp/packages chroot ${ISOROOT} ${PKGBIN_PKG_ADD} -I ${PKG}