summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 09:18:36 +0100
committerSam James <sam@gentoo.org>2021-04-19 20:11:08 +0100
commit61296d4818402eaeee009438a8b20ad73923b639 (patch)
tree7c191f201e41118983c658235ee8b687b971542a /sys-fs/mhddfs/files
parentsys-apps/lshw: tidy up patch (diff)
downloadgentoo-61296d4818402eaeee009438a8b20ad73923b639.tar.gz
gentoo-61296d4818402eaeee009438a8b20ad73923b639.tar.bz2
gentoo-61296d4818402eaeee009438a8b20ad73923b639.zip
sys-fs/mhddfs: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/mhddfs/files')
-rw-r--r--sys-fs/mhddfs/files/mhddfs-respect-compiler-vars.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-fs/mhddfs/files/mhddfs-respect-compiler-vars.patch b/sys-fs/mhddfs/files/mhddfs-respect-compiler-vars.patch
index 278c9876da73..5a3dc51c1431 100644
--- a/sys-fs/mhddfs/files/mhddfs-respect-compiler-vars.patch
+++ b/sys-fs/mhddfs/files/mhddfs-respect-compiler-vars.patch
@@ -1,12 +1,12 @@
---- a/Makefile 2012-11-19 15:25:21.665692111 +0400
-+++ b/Makefile 2012-11-19 15:27:08.406691288 +0400
+--- a/Makefile
++++ b/Makefile
@@ -22,13 +22,13 @@
TARGET = mhddfs
-CFLAGS = -Wall $(shell pkg-config fuse --cflags) \
- -DFUSE_USE_VERSION=26 -MMD
-+CFLAGS += -Wall $(shell pkg-config fuse glib-2.0 --cflags) \
++CFLAGS += -Wall $(shell ${PKG_CONFIG} fuse glib-2.0 --cflags) \
+ -DFUSE_USE_VERSION=26 -MMD -rdynamic
ifdef WITHOUT_XATTR
CFLAGS += -DWITHOUT_XATTR