summaryrefslogtreecommitdiff
path: root/mk/curses.buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/curses.buildlink3.mk')
-rw-r--r--mk/curses.buildlink3.mk14
1 files changed, 5 insertions, 9 deletions
diff --git a/mk/curses.buildlink3.mk b/mk/curses.buildlink3.mk
index 2924bfdf74e..fcd4cd91f6c 100644
--- a/mk/curses.buildlink3.mk
+++ b/mk/curses.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: curses.buildlink3.mk,v 1.1 2004/02/13 01:02:06 jlam Exp $
+# $NetBSD: curses.buildlink3.mk,v 1.2 2004/03/18 09:12:13 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.
@@ -6,11 +6,7 @@
# 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
+.if !exists(/usr/include/curses.h) && \
+ !exists(/usr/include/ncurses.h)
+. include "../../devel/ncurses/buildlink3.mk"
+.endif