From 2ab2541fd0e2cbf6cb48af797564be75052a8d98 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 19 Apr 2021 07:57:02 +0100 Subject: x11-misc/bbrun: respect PKG_CONFIG Signed-off-by: Sam James --- x11-misc/bbrun/bbrun-1.6-r1.ebuild | 2 ++ x11-misc/bbrun/files/bbrun-1.6-makefile.patch | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'x11-misc/bbrun') diff --git a/x11-misc/bbrun/bbrun-1.6-r1.ebuild b/x11-misc/bbrun/bbrun-1.6-r1.ebuild index 27c12b7c8678..a6a1b752e378 100644 --- a/x11-misc/bbrun/bbrun-1.6-r1.ebuild +++ b/x11-misc/bbrun/bbrun-1.6-r1.ebuild @@ -35,6 +35,8 @@ src_prepare() { } src_compile() { + tc-export PKG_CONFIG + emake -C ${PN} CC="$(tc-getCC)" } diff --git a/x11-misc/bbrun/files/bbrun-1.6-makefile.patch b/x11-misc/bbrun/files/bbrun-1.6-makefile.patch index 21e855746d09..c33a0f44d21c 100644 --- a/x11-misc/bbrun/files/bbrun-1.6-makefile.patch +++ b/x11-misc/bbrun/files/bbrun-1.6-makefile.patch @@ -9,8 +9,8 @@ http://bugs.gentoo.org/367853 LIBDIR = -L/usr/lib -L/usr/X11R6/lib -LIBS = -lXpm `pkg-config --libs gtk+-2.0` -CFLAGS = `pkg-config --cflags gtk+-2.0` -+LIBS = `pkg-config --libs xext xpm gtk+-2.0` -+DEP_CFLAGS = `pkg-config --cflags xext xpm gtk+-2.0` ++LIBS = `${PKG_CONFIG} --libs xext xpm gtk+-2.0` ++DEP_CFLAGS = `${PKG_CONFIG} --cflags xext xpm gtk+-2.0` OBJS = bbrun.o \ ../wmgeneral/wmgeneral.o \ -- cgit v1.2.3-65-gdbad