summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-29 16:28:51 +0000
committerjlam <jlam@pkgsrc.org>2008-02-29 16:28:51 +0000
commita58db16bf71b9d54b3a43412ce7b5e1c348e02d9 (patch)
tree20aa705080dfaf54d12e7792d6aaacdd102240ae /mk
parentc94bd5f3897a71731de3d3d33fa345430b72ed19 (diff)
downloadpkgsrc-a58db16bf71b9d54b3a43412ce7b5e1c348e02d9.tar.gz
Ensure the BUILDLINK_PREFIX.termlib is always defined.
Diffstat (limited to 'mk')
-rw-r--r--mk/termlib.buildlink3.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/termlib.buildlink3.mk b/mk/termlib.buildlink3.mk
index 98dc7549652..885b978ba7c 100644
--- a/mk/termlib.buildlink3.mk
+++ b/mk/termlib.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: termlib.buildlink3.mk,v 1.4 2008/02/27 21:32:45 jlam Exp $
+# $NetBSD: termlib.buildlink3.mk,v 1.5 2008/02/29 16:28:51 jlam Exp $
#
# This Makefile fragment is meant to be included by packages that require
# a basic termlib implementation.
@@ -44,6 +44,7 @@ BUILDLINK_LDADD.termlib?= ${BUILDLINK_LIBNAME.termlib:S/^/-l/:S/^-l$//}
BUILDLINK_BUILTIN_MK.termlib= ../../mk/termlib.builtin.mk
.elif ${TERMLIB_TYPE} == "curses"
. include "../../mk/curses.buildlink3.mk"
+BUILDLINK_PREFIX.termlib?= ${BUILDLINK_PREFIX.curses}
BUILDLINK_LIBNAME.termlib?= ${BUILDLINK_LIBNAME.curses}
BUILDLINK_LDADD.termlib?= ${BUILDLINK_LDADD.curses}
.endif