summaryrefslogtreecommitdiff
path: root/devel/ncurses
diff options
context:
space:
mode:
authorjlam <jlam>2001-07-27 14:31:44 +0000
committerjlam <jlam>2001-07-27 14:31:44 +0000
commit8758026a26264c49e85df860e2a234e6e77a3f91 (patch)
treed308547b8b51c7a862fcdb62682b2c2f59485164 /devel/ncurses
parentad24248dd53bfc6975db70cbe4e54f43ebba8886 (diff)
downloadpkgsrc-8758026a26264c49e85df860e2a234e6e77a3f91.tar.gz
Set REPLACE_LIBNAMES_SED in cases where BUILDLINK_TRANSFORM will be invoked
to replace buildlinked library names with the true library names.
Diffstat (limited to 'devel/ncurses')
-rw-r--r--devel/ncurses/buildlink.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/ncurses/buildlink.mk b/devel/ncurses/buildlink.mk
index 6df8858825d..17e91a84760 100644
--- a/devel/ncurses/buildlink.mk
+++ b/devel/ncurses/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.8 2001/07/27 13:33:25 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.9 2001/07/27 14:31:44 jlam Exp $
#
# This Makefile fragment is included by packages that use ncurses.
#
@@ -73,10 +73,10 @@ BUILDLINK_FILES.ncurses+= include/unctrl.h
BUILDLINK_FILES.ncurses+= lib/libcurses.*
BUILDLINK_FILES.ncurses+= lib/libform.*
BUILDLINK_FILES.ncurses+= lib/libmenu.*
-.endif
-
BUILDLINK_TRANSFORM.ncurses= -e "s|libcurses\.|libncurses.|g"
BUILDLINK_TRANSFORM.ncurses+= -e "s|/curses.h|/ncurses.h|g"
+REPLACE_LIBNAMES_SED+= -e "s|-lncurses|-lcurses|g"
+.endif
BUILDLINK_TARGETS.ncurses+= ncurses-buildlink
.if ${_NEED_NCURSES} == "NO"