pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk curses.buildlink[23].mk files to be included by pac...
details: https://anonhg.NetBSD.org/pkgsrc/rev/18c82d92919d
branches: trunk
changeset: 468358:18c82d92919d
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Feb 13 01:02:06 2004 +0000
description:
curses.buildlink[23].mk files to be included by packages that use the
curses library in some way. This file will automatically include
ncurses/buildlink[23].mk if a curses implementation isn't available. If a
package truly needs ncurses, then it should include
ncurses/buildlink[23].mk directly.
diffstat:
mk/curses.buildlink2.mk | 16 ++++++++++++++++
mk/curses.buildlink3.mk | 16 ++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)
diffs (40 lines):
diff -r 3e309da7ef32 -r 18c82d92919d mk/curses.buildlink2.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mk/curses.buildlink2.mk Fri Feb 13 01:02:06 2004 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: curses.buildlink2.mk,v 1.3 2004/02/13 01:02:06 jlam Exp $
+#
+# This file should be included by Makefiles for packages that use curses.
+# If a system curses isn't available, then add a dependency on ncurses.
+#
+# If a package genuinely requires ncurses, then it should directly include
+# ncurses/buildlink2.mk instead of this file in the package Makefile.
+
+.if !defined(CURSES_BUILDLINK2_MK)
+CURSES_BUILDLINK2_MK= # defined
+
+. if !exists(/usr/include/curses.h) && \
+ !exists(/usr/include/ncurses.h)
+. include "../../devel/ncurses/buildlink2.mk"
+. endif
+.endif # CURSES_BUILDLINK2_MK
diff -r 3e309da7ef32 -r 18c82d92919d mk/curses.buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mk/curses.buildlink3.mk Fri Feb 13 01:02:06 2004 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: curses.buildlink3.mk,v 1.1 2004/02/13 01:02:06 jlam Exp $
+#
+# This file should be included by Makefiles for packages that use curses.
+# If a system curses isn't available, then add a dependency on ncurses.
+#
+# If a package genuinely requires ncurses, then it should directly include
+# ncurses/buildlink3.mk instead of this file in the package Makefile.
+
+.if !defined(CURSES_BUILDLINK3_MK)
+CURSES_BUILDLINK3_MK= # defined
+
+. if !exists(/usr/include/curses.h) && \
+ !exists(/usr/include/ncurses.h)
+. include "../../devel/ncurses/buildlink3.mk"
+. endif
+.endif # CURSES_BUILDLINK3_MK
Home |
Main Index |
Thread Index |
Old Index