summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-05-18 10:09:18 +0200
committerJeroen Roovers <jer@gentoo.org>2016-05-18 10:09:52 +0200
commit75f47a9dd2a42ff4f6853017ca6da2085b8aeb75 (patch)
tree9503c55dfed01da2b804236875ed23979f40b5ce /x11-misc/xhkeys
parentx11-misc/xhkeys: Remove extraneous die(). (diff)
downloadgentoo-75f47a9dd2a42ff4f6853017ca6da2085b8aeb75.tar.gz
gentoo-75f47a9dd2a42ff4f6853017ca6da2085b8aeb75.tar.bz2
gentoo-75f47a9dd2a42ff4f6853017ca6da2085b8aeb75.zip
x11-misc/xhkeys: gcc -> CC.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'x11-misc/xhkeys')
-rw-r--r--x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch15
-rw-r--r--x11-misc/xhkeys/xhkeys-2.2.1.ebuild1
2 files changed, 16 insertions, 0 deletions
diff --git a/x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch b/x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch
new file mode 100644
index 000000000000..4e1f7dae7e7d
--- /dev/null
+++ b/x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch
@@ -0,0 +1,15 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -127,10 +127,10 @@
+ xhkeys_mixer.lo: xhkeys_mixer.c plugin_common.h xhkeys_plugin.h
+
+ xhkeys_cdaudio.so: $(MODULES_CDAUDIO)
+- gcc -shared -Wl,-soname,xhkeys_cdaudio.so -o xhkeys_cdaudio.so $(MODULES_CDAUDIO)
++ $(CC) -shared -Wl,-soname,xhkeys_cdaudio.so -o xhkeys_cdaudio.so $(MODULES_CDAUDIO)
+
+ xhkeys_mixer.so: $(MODULES_MIXER)
+- gcc -shared -Wl,-soname,xhkeys_mixer.so -o xhkeys_mixer.so $(MODULES_MIXER)
++ $(CC) -shared -Wl,-soname,xhkeys_mixer.so -o xhkeys_mixer.so $(MODULES_MIXER)
+
+ %.lo: %.c
+ $(CC) -c $(CFLAGS_LO) $< -o $@
diff --git a/x11-misc/xhkeys/xhkeys-2.2.1.ebuild b/x11-misc/xhkeys/xhkeys-2.2.1.ebuild
index 808559c5e93a..8ec8e2c00099 100644
--- a/x11-misc/xhkeys/xhkeys-2.2.1.ebuild
+++ b/x11-misc/xhkeys/xhkeys-2.2.1.ebuild
@@ -26,6 +26,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${P}-linux_headers.patch
+ "${FILESDIR}"/${P}-CC.patch
)
src_install() {