From cdd25221f32f80136f006533627636dc7221f8d2 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 13 Apr 2011 10:08:27 +0200 Subject: [PATCH] Fix snapshot building (hopefully). Since pkgsrc making USE_DESTDIR active by default snapshot building was broken since it would try to build a package for the bootstrap and failed: => Creating binary package /usr/pkgsrc/packages/All/bootstrap-mk-files-20090807nb2.tgz pkg_create: Package building is not supported in bootstrap mode Until this is fixed in pkgsrc, set USE_DESTDIR to "no" to fix snapshot building. --- nrelease/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrelease/Makefile b/nrelease/Makefile index 8cf271f661..b3b68ca018 100644 --- a/nrelease/Makefile +++ b/nrelease/Makefile @@ -342,7 +342,7 @@ customizeiso: ${ISOROOT}/var/db/pkg.refcount test -e ${ISODIR}/.didbootstrap || \ ${CHROOT_CMD} "cd /usr/pkgsrc/bootstrap; \ - export share_dir=/usr/pkgobj/bootstrap/work/share; \ + export share_dir=/usr/pkgobj/bootstrap/work/share USE_DESTDIR=no; \ ./bootstrap --workdir /usr/pkgobj/bootstrap/work" test -e ${ISODIR}/.didbootstrap || \ echo ".ifdef BSD_PKG_MK # added by nrelease" \ -- 2.41.0