pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Prevent to strip -l{,n}curses for the case terminfo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d6d46b2c6a6a
branches: trunk
changeset: 626385:d6d46b2c6a6a
user: obache <obache%pkgsrc.org@localhost>
date: Sun Nov 10 02:54:47 2013 +0000
description:
Prevent to strip -l{,n}curses for the case terminfo library name is itself.
diffstat:
mk/terminfo.builtin.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 52ade4ab5196 -r d6d46b2c6a6a mk/terminfo.builtin.mk
--- a/mk/terminfo.builtin.mk Sun Nov 10 01:43:30 2013 +0000
+++ b/mk/terminfo.builtin.mk Sun Nov 10 02:54:47 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: terminfo.builtin.mk,v 1.2 2010/02/08 22:11:43 roy Exp $
+# $NetBSD: terminfo.builtin.mk,v 1.3 2013/11/10 02:54:47 obache Exp $
BUILTIN_PKG:= terminfo
@@ -77,8 +77,12 @@
# of those library options.
#
. if empty(BUILDLINK_TREE:Mcurses) && empty(BUILDLINK_TREE:Mncurses)
+. if empty(BUILDLINK_LIBNAME.terminfo:Mcurses)
BUILDLINK_TRANSFORM+= rm:-lcurses
+. endif
+. if empty(BUILDLINK_LIBNAME.terminfo:Mncurses)
BUILDLINK_TRANSFORM+= rm:-lncurses
+. endif
. endif
.endif # CHECK_BUILTIN.terminfo
Home |
Main Index |
Thread Index |
Old Index