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
commitf7971c2aa0d0b8cd80936a1e195ebe9d22a5e15d (patch)
tree91978fd0f3d4b90e88f02ca6e90c5dd91161f249 /mk
parent18a18144d61a4cac30f0e134aa352249888f4474 (diff)
downloadpkgsrc-f7971c2aa0d0b8cd80936a1e195ebe9d22a5e15d.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.