summaryrefslogtreecommitdiff
path: root/x11-misc/chgres/files/chgres-0.1-flags.patch
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 09:19:06 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:11:09 +0100
commit87af2cef04225bf0ec5ec932892290caac13ff8e (patch)
treeb3ecacc03759bffcb3e1399abf875c30f8cb3403 /x11-misc/chgres/files/chgres-0.1-flags.patch
parent61296d4818402eaeee009438a8b20ad73923b639 (diff)
downloadgentoo-87af2cef04225bf0ec5ec932892290caac13ff8e.tar.gz
gentoo-87af2cef04225bf0ec5ec932892290caac13ff8e.tar.bz2
gentoo-87af2cef04225bf0ec5ec932892290caac13ff8e.zip
x11-misc/chgres: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/chgres/files/chgres-0.1-flags.patch')
-rw-r--r--x11-misc/chgres/files/chgres-0.1-flags.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11-misc/chgres/files/chgres-0.1-flags.patch b/x11-misc/chgres/files/chgres-0.1-flags.patch
index 4045175dde09..74c37d7f101b 100644
--- a/x11-misc/chgres/files/chgres-0.1-flags.patch
+++ b/x11-misc/chgres/files/chgres-0.1-flags.patch
@@ -1,10 +1,10 @@
---- a/Makefile 2001-04-18 23:07:56.000000000 +0200
-+++ b/Makefile 2010-09-17 03:08:55.000000000 +0200
+--- a/Makefile
++++ b/Makefile
@@ -1,9 +1,9 @@
-CFLAGS=
-LDFLAGS= -L/usr/X11R6/lib -lXext -lX11 -lXxf86vm -lXxf86dga
-+LIBS= $(shell pkg-config --libs xext x11 xxf86vm xxf86dga)
-+INCLUDES= $(shell pkg-config --cflags xext x11 xxf86vm xxf86dga)
++LIBS= $(shell ${PKG_CONFIG} --libs xext x11 xxf86vm xxf86dga)
++INCLUDES= $(shell ${PKG_CONFIG} --cflags xext x11 xxf86vm xxf86dga)
prefix=/usr
chgres: chgres.o