summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 07:57:34 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:10:21 +0100
commit2d6f627adda6803c60cec382d8f163c592ab0c3f (patch)
tree0c22de4304bc4f7346de961bb5671a2f9c05713f /x11-misc/gbase/files/gbase-0.5-gtk.patch
parentx11-misc/bbrun: respect PKG_CONFIG (diff)
downloadgentoo-2d6f627adda6803c60cec382d8f163c592ab0c3f.tar.gz
gentoo-2d6f627adda6803c60cec382d8f163c592ab0c3f.tar.bz2
gentoo-2d6f627adda6803c60cec382d8f163c592ab0c3f.zip
x11-misc/gbase: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/gbase/files/gbase-0.5-gtk.patch')
-rw-r--r--x11-misc/gbase/files/gbase-0.5-gtk.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/x11-misc/gbase/files/gbase-0.5-gtk.patch b/x11-misc/gbase/files/gbase-0.5-gtk.patch
index 38936e79738c..4763839624af 100644
--- a/x11-misc/gbase/files/gbase-0.5-gtk.patch
+++ b/x11-misc/gbase/files/gbase-0.5-gtk.patch
@@ -1,13 +1,12 @@
-diff -ur gbase-0.5.orig/Makefile gbase-0.5/Makefile
---- gbase-0.5.orig/Makefile 1999-10-28 00:23:51.000000000 +0300
-+++ gbase-0.5/Makefile 2008-01-16 14:24:55.000000000 +0200
+--- a/Makefile
++++ b/Makefile
@@ -1,15 +1,15 @@
-CC = gcc
-CCFLAGS = `gtk-config --cflags`
-LDFLAGS = `gtk-config --libs`
+CC ?= gcc
-+CFLAGS += `pkg-config --cflags gtk+-2.0`
-+LIBS = `pkg-config --libs gtk+-2.0`
++CFLAGS += `${PKG_CONFIG} --cflags gtk+-2.0`
++LIBS = `${PKG_CONFIG} --libs gtk+-2.0`
gbase: gbase.o
- $(CC) gbase.o $(LDFLAGS) -o gbase