x11-misc/xhkeys: gcc -> CC.
authorJeroen Roovers <jer@gentoo.org>
Wed, 18 May 2016 08:09:18 +0000 (10:09 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 18 May 2016 08:09:52 +0000 (10:09 +0200)
Package-Manager: portage-2.3.0_rc1

x11-misc/xhkeys/files/xhkeys-2.2.1-CC.patch [new file with mode: 0644]
x11-misc/xhkeys/xhkeys-2.2.1.ebuild

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 (file)
index 0000000..4e1f7da
--- /dev/null
@@ -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 $@
index 808559c5e93a1eed90dedc7ef6afabd424183f5b..8ec8e2c000999978f3fdc3e5ec0edfe35abf738e 100644 (file)
@@ -26,6 +26,7 @@ DEPEND="
 
 PATCHES=(
        "${FILESDIR}"/${P}-linux_headers.patch
+       "${FILESDIR}"/${P}-CC.patch
 )
 
 src_install() {