diff options
author | obache <obache> | 2013-11-10 02:54:47 +0000 |
---|---|---|
committer | obache <obache> | 2013-11-10 02:54:47 +0000 |
commit | 355e2c1150078872be33123c679539d81d72f9dc (patch) | |
tree | ec7977705cea06c50941fb12583b27fe3d5b778c /mk | |
parent | ac94dca6ce0abe99c4e828fe2a11eb7a2fc983e5 (diff) | |
download | pkgsrc-355e2c1150078872be33123c679539d81d72f9dc.tar.gz |
Prevent to strip -l{,n}curses for the case terminfo library name is itself.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/terminfo.builtin.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/terminfo.builtin.mk b/mk/terminfo.builtin.mk index 014f23a82d3..7c56659c3d1 100644 --- a/mk/terminfo.builtin.mk +++ b/mk/terminfo.builtin.mk @@ -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 @@ BUILDLINK_LIBNAME.terminfo= ${BUILTIN_LIBNAME.terminfo} # 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 |