pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ncurses Symlink curses.h to ${BUILDLINK_PREFIX.n...
details: https://anonhg.NetBSD.org/pkgsrc/rev/224593b85c31
branches: trunk
changeset: 466484:224593b85c31
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon Jan 19 10:34:26 2004 +0000
description:
Symlink curses.h to ${BUILDLINK_PREFIX.ncurses}/include/ncurses.h so that
this works for both overwrite and pkgviews installation types.
diffstat:
devel/ncurses/buildlink3.mk | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r 3bef539e832b -r 224593b85c31 devel/ncurses/buildlink3.mk
--- a/devel/ncurses/buildlink3.mk Mon Jan 19 10:09:36 2004 +0000
+++ b/devel/ncurses/buildlink3.mk Mon Jan 19 10:34:26 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2004/01/10 17:47:38 cjep Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2004/01/19 10:34:26 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NCURSES_BUILDLINK3_MK:= ${NCURSES_BUILDLINK3_MK}+
@@ -101,9 +101,11 @@
.PHONY: buildlink-ncurses-curses-h
buildlink-ncurses-curses-h:
${_PKG_SILENT}${_PKG_DEBUG} \
- if [ ! -f ${BUILDLINK_DIR}/include/curses.h ]; then \
- ${ECHO_BUILDLINK_MSG} "Linking curses.h to ncurses.h in ${BUILDLINK_DIR}."; \
- ${LN} -s ncurses.h ${BUILDLINK_DIR}/include/curses.h; \
+ if [ ! -f ${BUILDLINK_DIR}/include/curses.h -a \
+ -f ${BUILDLINK_PREFIX.ncurses}/include/ncurses.h ]; then \
+ ${ECHO_BUILDLINK_MSG} "Linking curses.h to ncurses.h."; \
+ ${LN} -s ${BUILDLINK_PREFIX.ncurses}/include/ncurses.h \
+ ${BUILDLINK_DIR}/include/curses.h; \
fi
.endif # NCURSES_BUILDLINK3_MK
Home |
Main Index |
Thread Index |
Old Index