summaryrefslogtreecommitdiff
path: root/media-libs/sge/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /media-libs/sge/files
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'media-libs/sge/files')
-rw-r--r--media-libs/sge/files/sge-030809-freetype_pkgconfig.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/media-libs/sge/files/sge-030809-freetype_pkgconfig.patch b/media-libs/sge/files/sge-030809-freetype_pkgconfig.patch
index ceb478f3d828..738f4e2aeaa8 100644
--- a/media-libs/sge/files/sge-030809-freetype_pkgconfig.patch
+++ b/media-libs/sge/files/sge-030809-freetype_pkgconfig.patch
@@ -1,7 +1,7 @@
https://bugs.gentoo.org/655798
---- sge030809/Makefile.conf
-+++ sge030809/Makefile.conf
+--- a/Makefile.conf
++++ b/Makefile.conf
@@ -35,16 +35,16 @@
SGE_LIBS =$(shell sdl-config --libs) -lstdc++
@@ -9,7 +9,7 @@ https://bugs.gentoo.org/655798
-# Is freetype-config available?
-HAVE_FT =$(shell if (freetype-config --version) < /dev/null > /dev/null 2>&1; then echo "y"; else echo "n"; fi;)
+# Is freetype available?
-+HAVE_FT =$(shell if pkg-config --exists freetype2 ; then echo "y"; else echo "n"; fi;)
++HAVE_FT =$(shell if ${PKG_CONFIG} --exists freetype2 ; then echo "y"; else echo "n"; fi;)
ifeq ($(HAVE_FT),n)
USE_FT = n
endif
@@ -18,8 +18,8 @@ https://bugs.gentoo.org/655798
USE_FT = y
- SGE_LIBS +=$(shell freetype-config --libs)
- FT_CFLAGS =$(shell freetype-config --cflags)
-+ SGE_LIBS +=$(shell pkg-config --libs freetype2)
-+ FT_CFLAGS =$(shell pkg-config --cflags freetype2)
++ SGE_LIBS +=$(shell ${PKG_CONFIG} --libs freetype2)
++ FT_CFLAGS =$(shell ${PKG_CONFIG} --cflags freetype2)
endif