pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ncurses Always create the curses.h -> ncurses.h ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f9138f50b998
branches: trunk
changeset: 471172:f9138f50b998
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Mar 20 19:28:46 2004 +0000
description:
Always create the curses.h -> ncurses.h symlink to match buildlink2
behaviour.
diffstat:
devel/ncurses/builtin.mk | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 2b8b962fdf12 -r f9138f50b998 devel/ncurses/builtin.mk
--- a/devel/ncurses/builtin.mk Sat Mar 20 17:58:56 2004 +0000
+++ b/devel/ncurses/builtin.mk Sat Mar 20 19:28:46 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1 2004/03/10 17:57:14 jlam Exp $
+# $NetBSD: builtin.mk,v 1.2 2004/03/20 19:28:46 jlam Exp $
.if !defined(_BLNK_LIBNCURSES_FOUND)
_BLNK_LIBNCURSES_FOUND!= \
@@ -106,10 +106,12 @@
BUILDLINK_TRANSFORM+= l:ncurses:curses
. endif
BUILDLINK_FILES.ncurses+= include/curses.h
+BUILDLINK_TARGETS+= buildlink-ncurses-extra-includes
+.endif
-BUILDLINK_TARGETS+= buildlink-ncurses-curses-h
-BUILDLINK_TARGETS+= buildlink-ncurses-extra-includes
+BUILDLINK_TARGETS+= buildlink-ncurses-curses-h
+.if !target(buildlink-ncurses-extra-includes)
.PHONY: buildlink-ncurses-extra-includes
buildlink-ncurses-extra-includes:
${_PKG_SILENT}${_PKG_DEBUG} \
@@ -120,7 +122,9 @@
${TOUCH} ${TOUCH_FLAGS} ${BUILDLINK_DIR}/$$f; \
fi; \
done
+.endif
+.if !target(buildlink-ncurses-curses-h)
.PHONY: buildlink-ncurses-curses-h
buildlink-ncurses-curses-h:
${_PKG_SILENT}${_PKG_DEBUG} \
Home |
Main Index |
Thread Index |
Old Index