pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Ensure PBULK_CACHE_DIRECTORY exists before writing ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9c39afb33171
branches: trunk
changeset: 359386:9c39afb33171
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Mar 08 16:16:40 2017 +0000
description:
Ensure PBULK_CACHE_DIRECTORY exists before writing into it.
diffstat:
mk/pkg-build-options.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 561926181afd -r 9c39afb33171 mk/pkg-build-options.mk
--- a/mk/pkg-build-options.mk Wed Mar 08 16:09:15 2017 +0000
+++ b/mk/pkg-build-options.mk Wed Mar 08 16:16:40 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pkg-build-options.mk,v 1.11 2016/12/17 23:41:51 joerg Exp $
+# $NetBSD: pkg-build-options.mk,v 1.12 2017/03/08 16:16:40 jperkin Exp $
#
# This procedure determines the PKG_OPTIONS that have been in effect
# when the package ${pkgbase} has been built. When the package is not
@@ -51,6 +51,7 @@
&& ${MAKE} ${MAKEFLAGS} show-var VARNAME=PKG_OPTIONS; }
. if defined(PBULK_CACHE_DIRECTORY)
_PKG_BUILD_OPTIONS.${b}!= \
+ mkdir -p ${PBULK_CACHE_DIRECTORY:Q}; \
echo PKG_BUILD_OPTIONS.${b:Q}=${PKG_BUILD_OPTIONS.${b:Q}} > ${PBULK_CACHE_DIRECTORY:Q}/build-options.${pkgbase}.$$$$; \
mv ${PBULK_CACHE_DIRECTORY:Q}/build-options.${pkgbase}.$$$$ ${PBULK_CACHE_DIRECTORY:Q}/build-options.${pkgbase}
. endif
Home |
Main Index |
Thread Index |
Old Index