summaryrefslogtreecommitdiff
path: root/mk/curses.buildlink3.mk
blob: fcd4cd91f6c7c645e6965c0f8d885d9dfce6727a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# $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.
#
# If a package genuinely requires ncurses, then it should directly include
# ncurses/buildlink3.mk instead of this file in the package Makefile.

.if !exists(/usr/include/curses.h) && \
    !exists(/usr/include/ncurses.h)
.  include "../../devel/ncurses/buildlink3.mk"
.endif