diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 09:13:37 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 20:10:57 +0100 |
commit | 74f66e4dd4c86b04f92c28e2663c7089f50012c2 (patch) | |
tree | 28ca4119b28b88ce2f54440b2d939ab249402412 /media-video/aegisub/files | |
parent | media-sound/jaaa: respect PKG_CONFIG (diff) | |
download | gentoo-74f66e4dd4c86b04f92c28e2663c7089f50012c2.tar.gz gentoo-74f66e4dd4c86b04f92c28e2663c7089f50012c2.tar.bz2 gentoo-74f66e4dd4c86b04f92c28e2663c7089f50012c2.zip |
media-video/aegisub: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/aegisub/files')
-rw-r--r-- | media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-support-system-gtest.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-support-system-gtest.patch b/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-support-system-gtest.patch index 7e3fac2acd81..3c6c108e1738 100644 --- a/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-support-system-gtest.patch +++ b/media-video/aegisub/files/3.2.2_p20160518/aegisub-3.2.2_p20160518-support-system-gtest.patch @@ -26,8 +26,8 @@ index 8c30c1d..c5bf049 100644 +GTEST_CPPFLAGS := -I$(GTEST_ROOT) -I$(GTEST_ROOT)/include +GTEST_LIBS := $(LIBS_PTHREAD) +else -+GTEST_CPPFLAGS := $(shell pkg-config --cflags-only-I gtest) -+GTEST_LIBS := $(shell pkg-config --libs gtest) ++GTEST_CPPFLAGS := $(shell ${PKG_CONFIG} --cflags-only-I gtest) ++GTEST_LIBS := $(shell ${PKG_CONFIG} --libs gtest) +endif + +GTEST_CXXFLAGS := $(CFLAGS_PTHREAD) |