* [gentoo-commits] proj/openrc:0.21.x commit in: mk/
@ 2016-07-31 19:06 William Hubbs
0 siblings, 0 replies; only message in thread
From: William Hubbs @ 2016-07-31 19:06 UTC (permalink / raw
To: gentoo-commits
commit: 0077e54146c0c6180769bb5fa2d8da2924038baa
Author: Julian Ospald <hasufell <AT> posteo <DOT> de>
AuthorDate: Wed Jun 29 12:27:37 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 18:50:05 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0077e541
Build: fix hardcoded pkg-config invocation
This fixes #89.
mk/sys.mk | 1 +
mk/termcap.mk | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/mk/sys.mk b/mk/sys.mk
index 948ec1d..47d9526 100644
--- a/mk/sys.mk
+++ b/mk/sys.mk
@@ -11,6 +11,7 @@
AR?= ar
CP?= cp
+PKG_CONFIG?= pkg-config
ECHO?= echo
INSTALL?= install
RANLIB?= ranlib
diff --git a/mk/termcap.mk b/mk/termcap.mk
index 2d6ad01..4890e35 100644
--- a/mk/termcap.mk
+++ b/mk/termcap.mk
@@ -1,6 +1,6 @@
ifeq (${MKTERMCAP},ncurses)
-TERMCAP_CFLAGS:= $(shell pkg-config ncurses --cflags 2> /dev/null)
-LTERMCAP:= $(shell pkg-config ncurses --libs 2> /dev/null)
+TERMCAP_CFLAGS:= $(shell ${PKG_CONFIG} ncurses --cflags 2> /dev/null)
+LTERMCAP:= $(shell ${PKG_CONFIG} ncurses --libs 2> /dev/null)
ifeq ($(LTERMCAP),)
LIBTERMCAP?= -lncurses
else
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-31 19:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-31 19:06 [gentoo-commits] proj/openrc:0.21.x commit in: mk/ William Hubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox