openrc/mk
William Hubbs 549cbadd2c build: use pkg-config to find ncurses libraries if it is available
If ncurses was built with the --with-termlib switch enabled, tgoto, tgetent
and tgetstr move to libtinfo. Fortunately, ncurses provides a pkg-config
file which we can use if pkg-config is installed. If it is not, we still
link to -lncurses for now, so pkg-config is not a hard requirement.

Reported-by: jan.paesmans@gmail.com
X-Gentoo-Bug: 455912
X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=455912
2013-02-23 17:10:35 -06:00
..
cc.mk cc.mk: move debug.mk out of end Makefiles 2011-05-28 12:00:34 -04:00
debug.mk drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
depend.mk remove BSD make code to handle including .depend 2011-02-04 22:28:57 -06:00
dist.mk drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
git.mk use immediate evaluation for shell calls 2011-01-31 14:05:57 -06:00
gitignore.mk drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
lib.mk Add MKSTATICLIBS switch 2011-11-18 08:55:30 -06:00
os-BSD.mk further clean up OS differences in makefiles 2011-10-20 14:32:37 -05:00
os-FreeBSD.mk drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
os-Linux.mk Respin features.h usage so that we correctly test for features before we use them. Some BSD libc implementations may have one or the other flag, but not both. 2012-01-23 05:26:40 +00:00
os-NetBSD.mk drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
os-prefix.mk fix typo 2012-08-31 14:47:20 -05:00
os.mk add MKPREFIX flag to build system 2012-08-31 10:40:47 -05:00
pam.mk rework pam, ncurses and termcap include files 2011-02-04 22:30:30 -06:00
prog.mk Use pattern rules instead of suffix rules 2011-10-29 09:43:24 -05:00
scripts.mk Drop rc_sys definition from build system 2012-02-20 20:13:11 -06:00
subdir.mk Whitespace 2012-01-22 01:17:42 +01:00
sys.mk Fix UPREFIX for Gentoo Prefix installations 2012-08-31 16:50:49 -05:00
termcap.mk build: use pkg-config to find ncurses libraries if it is available 2013-02-23 17:10:35 -06:00