summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-05 17:38:58 +0000
committerjlam <jlam>2008-03-05 17:38:58 +0000
commita8dbb96e477ae5d40831f9915119e291bccdcd35 (patch)
tree91978fd0f3d4b90e88f02ca6e90c5dd91161f249 /mk
parent676c4402c5cc3ad3c88552218c8c07e0c0912494 (diff)
downloadpkgsrc-a8dbb96e477ae5d40831f9915119e291bccdcd35.tar.gz
TERMCAP_TYPE isn't really a variable that you can set, so add it to
BUILD_DEFS_EFFECTS instead of BUILD_DEFS.
Diffstat (limited to 'mk')
-rw-r--r--mk/termcap.buildlink3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/termcap.buildlink3.mk b/mk/termcap.buildlink3.mk
index fee1309a53c..d0c9a34f3aa 100644
--- a/mk/termcap.buildlink3.mk
+++ b/mk/termcap.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: termcap.buildlink3.mk,v 1.5 2008/03/05 16:23:52 jlam Exp $
+# $NetBSD: termcap.buildlink3.mk,v 1.6 2008/03/05 17:38:58 jlam Exp $
#
# This Makefile fragment is meant to be included by packages that require
# a termcap implementation that supports the basic termcap functions:
@@ -34,7 +34,7 @@ TERMCAP_TYPE= none
.else
TERMCAP_TYPE= curses # pkgsrc termcap is curses
.endif
-BUILD_DEFS+= TERMCAP_TYPE
+BUILD_DEFS_EFFECTS+= TERMCAP_TYPE
# Most GNU configure scripts will try finding every termcap implementation,
# so prevent them from finding any except for the one we decide upon.