pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Create directories before putting files in them. This...
details: https://anonhg.NetBSD.org/pkgsrc/rev/21de4126bf55
branches: trunk
changeset: 485438:21de4126bf55
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Dec 11 00:32:16 2004 +0000
description:
Create directories before putting files in them. This should fix
PR pkg/28480.
diffstat:
devel/gettext-lib/builtin.mk | 3 ++-
devel/ncurses/builtin.mk | 4 +++-
mk/db1.builtin.mk | 3 ++-
security/libdes/builtin.mk | 3 ++-
4 files changed, 9 insertions(+), 4 deletions(-)
diffs (76 lines):
diff -r 7afc4e9627d1 -r 21de4126bf55 devel/gettext-lib/builtin.mk
--- a/devel/gettext-lib/builtin.mk Sat Dec 11 00:26:45 2004 +0000
+++ b/devel/gettext-lib/builtin.mk Sat Dec 11 00:32:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.16 2004/11/28 19:19:52 jlam Exp $
+# $NetBSD: builtin.mk,v 1.17 2004/12/11 00:32:16 jlam Exp $
.for _lib_ in intl
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -222,6 +222,7 @@
BUILDLINK_TARGETS+= buildlink-msgfmt
buildlink-msgfmt:
+ @${MKDIR} -p ${BUILDLINK_DIR}/bin
@${CP} ../../devel/gettext/files/msgfmt.pl ${BUILDLINK_DIR}/bin/msgfmt
@${CHMOD} +x ${BUILDLINK_DIR}/bin/msgfmt
.endif
diff -r 7afc4e9627d1 -r 21de4126bf55 devel/ncurses/builtin.mk
--- a/devel/ncurses/builtin.mk Sat Dec 11 00:26:45 2004 +0000
+++ b/devel/ncurses/builtin.mk Sat Dec 11 00:32:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.6 2004/11/28 05:44:34 jlam Exp $
+# $NetBSD: builtin.mk,v 1.7 2004/12/11 00:32:16 jlam Exp $
.for _lib_ in ncurses
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -123,6 +123,7 @@
for f in $${extra_includes}; do \
if [ ! -f ${BUILDLINK_PREFIX.ncurses}/$$f ]; then \
${ECHO_BUILDLINK_MSG} "Touching extra ncurses header ($$f) in ${BUILDLINK_DIR}."; \
+ ${MKDIR} -p `${DIRNAME} ${BUILDLINK_DIR}/$$f`; \
${TOUCH} ${TOUCH_FLAGS} ${BUILDLINK_DIR}/$$f; \
fi; \
done
@@ -135,6 +136,7 @@
if [ ! -f ${BUILDLINK_DIR}/include/curses.h -a \
-f ${BUILDLINK_PREFIX.ncurses}/include/ncurses.h ]; then \
${ECHO_BUILDLINK_MSG} "Linking curses.h -> ncurses.h."; \
+ ${MKDIR} -p ${BUILDLINK_DIR}/include; \
${LN} -s ${BUILDLINK_PREFIX.ncurses}/include/ncurses.h \
${BUILDLINK_DIR}/include/curses.h; \
fi
diff -r 7afc4e9627d1 -r 21de4126bf55 mk/db1.builtin.mk
--- a/mk/db1.builtin.mk Sat Dec 11 00:26:45 2004 +0000
+++ b/mk/db1.builtin.mk Sat Dec 11 00:32:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: db1.builtin.mk,v 1.8 2004/12/02 17:40:49 jlam Exp $
+# $NetBSD: db1.builtin.mk,v 1.9 2004/12/11 00:32:16 jlam Exp $
.for _lib_ in db db1
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -81,6 +81,7 @@
buildlink-db1-db185-h:
${_PKG_SILENT}${_PKG_DEBUG} \
if ${TEST} ! -f ${BUILDLINK_DIR}/include/db_185.h; then \
+ ${MKDIR} -p ${BUILDLINK_DIR}/include; \
${LN} -fs ${_inc_} ${BUILDLINK_DIR}/include/db_185.h; \
fi
. endif
diff -r 7afc4e9627d1 -r 21de4126bf55 security/libdes/builtin.mk
--- a/security/libdes/builtin.mk Sat Dec 11 00:26:45 2004 +0000
+++ b/security/libdes/builtin.mk Sat Dec 11 00:32:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.2 2004/12/05 05:35:28 jlam Exp $
+# $NetBSD: builtin.mk,v 1.3 2004/12/11 00:32:16 jlam Exp $
.if !defined(IS_BUILTIN.libdes)
IS_BUILTIN.libdes= no
@@ -20,6 +20,7 @@
dest="${BUILDLINK_DIR}/include/libdes.h"; \
src="/usr/include/des.h"; \
if ${TEST} ! -f "$$dest" -a -f "$$src"; then \
+ ${MKDIR} -p `${DIRNAME} $$dest`; \
${LN} -fs $$src $$dest; \
fi
. endif
Home |
Main Index |
Thread Index |
Old Index