summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-18 23:03:21 +0200
committerDavid Seifert <soap@gentoo.org>2021-06-18 23:03:21 +0200
commit0205e5c5d31343cefde708ab3da92193a4467504 (patch)
tree6be053fe6a586b058ae81b4af7075edea08f9c2e /media-plugins/vdr-wirbelscan/files
parentmedia-plugins/vdr-imonlcd: respect PKG_CONFIG (diff)
downloadgentoo-0205e5c5d31343cefde708ab3da92193a4467504.tar.gz
gentoo-0205e5c5d31343cefde708ab3da92193a4467504.tar.bz2
gentoo-0205e5c5d31343cefde708ab3da92193a4467504.zip
media-plugins/vdr-wirbelscan: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-plugins/vdr-wirbelscan/files')
-rw-r--r--media-plugins/vdr-wirbelscan/files/wirbelscan.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-plugins/vdr-wirbelscan/files/wirbelscan.mk b/media-plugins/vdr-wirbelscan/files/wirbelscan.mk
index 0d7706769f3b..59095922939d 100644
--- a/media-plugins/vdr-wirbelscan/files/wirbelscan.mk
+++ b/media-plugins/vdr-wirbelscan/files/wirbelscan.mk
@@ -15,7 +15,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
### The directory environment:
# Use package data if installed...otherwise assume we're under the VDR source directory:
-PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
+PKGCFG = $(if $(VDRDIR),$(shell ${PKG_CONFIG} --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
LIBDIR = $(call PKGCFG,libdir)
LOCDIR = $(call PKGCFG,locdir)
PLGCFG = $(call PKGCFG,plgcfg)