diff options
author | jlam <jlam> | 2004-12-11 00:32:16 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-12-11 00:32:16 +0000 |
commit | 875203206eaf2097ad9ec3b1e97e94186cf50063 (patch) | |
tree | 0b826c042d15360fd55616724039b46f0e075200 /devel/ncurses | |
parent | 059b316c041fc7077dcc5d8fa799be2ec58fa5f0 (diff) | |
download | pkgsrc-875203206eaf2097ad9ec3b1e97e94186cf50063.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 |