diff options
author | jlam <jlam@pkgsrc.org> | 2004-12-11 00:32:16 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-12-11 00:32:16 +0000 |
commit | bda68014301785a79ce5adfe1a27b602ea17f71d (patch) | |
tree | 0b826c042d15360fd55616724039b46f0e075200 /devel/ncurses | |
parent | 5c4cafa4b5d1a50ef4944e9fef37cc8fe7629109 (diff) | |
download | pkgsrc-bda68014301785a79ce5adfe1a27b602ea17f71d.tar.gz |
Create directories before putting files in them. This should fix
PR pkg/28480.
Diffstat (limited to 'devel/ncurses')
-rw-r--r-- | devel/ncurses/builtin.mk | 4 |
1 files changed, 3 insertions, 1 deletions
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 |