pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/buildlink3
Module Name: pkgsrc
Committed By: dbj
Date: Tue Aug 1 05:48:12 UTC 2017
Modified Files:
pkgsrc/mk/buildlink3: bsd.buildlink3.mk
Log Message:
don't try to create buildlinks if BUILDLINK_PREFIX.${_pkg_} is empty
without this change it looks for files in $HOME or fails if that is not set
To generate a diff of this commit:
cvs rdiff -u -r1.238 -r1.239 pkgsrc/mk/buildlink3/bsd.buildlink3.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/buildlink3/bsd.buildlink3.mk
diff -u pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.238 pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.239
--- pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.238 Thu Jun 9 02:38:34 2016
+++ pkgsrc/mk/buildlink3/bsd.buildlink3.mk Tue Aug 1 05:48:12 2017
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.238 2016/06/09 02:38:34 markd Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.239 2017/08/01 05:48:12 dbj Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -657,7 +657,8 @@ ${_BLNK_COOKIE.${_pkg_}}:
${X11BASE}) buildlink_dir="${BUILDLINK_X11_DIR}" ;; \
*) buildlink_dir="${BUILDLINK_DIR}" ;; \
esac; \
- cd ${BUILDLINK_PREFIX.${_pkg_}}; \
+ [ -z "${BUILDLINK_PREFIX.${_pkg_}:Q}" ] || \
+ cd ${BUILDLINK_PREFIX.${_pkg_}} && \
${_BLNK_FILES_CMD.${_pkg_}} | \
while read file; do \
src="${_CROSS_DESTDIR}${BUILDLINK_PREFIX.${_pkg_}}/$$file"; \
Home |
Main Index |
Thread Index |
Old Index