diff options
-rw-r--r-- | devel/gettext-lib/builtin.mk | 3 | ||||
-rw-r--r-- | devel/ncurses/builtin.mk | 4 | ||||
-rw-r--r-- | mk/db1.builtin.mk | 3 | ||||
-rw-r--r-- | security/libdes/builtin.mk | 3 |
4 files changed, 9 insertions, 4 deletions
diff --git a/devel/gettext-lib/builtin.mk b/devel/gettext-lib/builtin.mk index 1e1ba14f14f..49355f019dd 100644 --- a/devel/gettext-lib/builtin.mk +++ b/devel/gettext-lib/builtin.mk @@ -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 @@ SUBST_SED.fix-msgfmt+= -e 's|@MSGFMT@|${BUILDLINK_PREFIX.gettext}/bin/msgfmt|g' 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 --git a/devel/ncurses/builtin.mk b/devel/ncurses/builtin.mk index 27130e070ac..f42eca9e9fe 100644 --- a/devel/ncurses/builtin.mk +++ b/devel/ncurses/builtin.mk @@ -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 @@ buildlink-ncurses-extra-includes: 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 @@ buildlink-ncurses-curses-h: 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 --git a/mk/db1.builtin.mk b/mk/db1.builtin.mk index 4feb50167d9..aef3e187fcd 100644 --- a/mk/db1.builtin.mk +++ b/mk/db1.builtin.mk @@ -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_TARGETS+= buildlink-db1-db185-h 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 --git a/security/libdes/builtin.mk b/security/libdes/builtin.mk index 35a8b2504ba..d864ba4b1f0 100644 --- a/security/libdes/builtin.mk +++ b/security/libdes/builtin.mk @@ -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 @@ buildlink-libdes-libdes-h: 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 |