From 87af2cef04225bf0ec5ec932892290caac13ff8e Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 19 Apr 2021 09:19:06 +0100 Subject: x11-misc/chgres: respect PKG_CONFIG Signed-off-by: Sam James --- x11-misc/chgres/files/chgres-0.1-flags.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'x11-misc/chgres/files') 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 -- cgit v1.2.3-65-gdbad