pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Mar  8 16:16:40 UTC 2017

Modified Files:
        pkgsrc/mk: pkg-build-options.mk

Log Message:
Ensure PBULK_CACHE_DIRECTORY exists before writing into it.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/mk/pkg-build-options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/pkg-build-options.mk
diff -u pkgsrc/mk/pkg-build-options.mk:1.11 pkgsrc/mk/pkg-build-options.mk:1.12
--- pkgsrc/mk/pkg-build-options.mk:1.11 Sat Dec 17 23:41:51 2016
+++ pkgsrc/mk/pkg-build-options.mk      Wed Mar  8 16:16:40 2017
@@ -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 @@ PKG_BUILD_OPTIONS.${b}!= \
             && ${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