summaryrefslogtreecommitdiff
path: root/x11-plugins/wmbio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-09 19:15:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-09 19:15:58 +0100
commitcbd353b3b5c054a108233ae74038ef91f24fd486 (patch)
treebebd5dc352828e061e1f20b29f801533b0f593fd /x11-plugins/wmbio
parenta1e66b29f226eb6b6509b18ffbe5b1134b3dcaa4 (diff)
gentoo auto-resync : 09:07:2022 - 19:15:57
Diffstat (limited to 'x11-plugins/wmbio')
-rw-r--r--x11-plugins/wmbio/Manifest2
-rw-r--r--x11-plugins/wmbio/wmbio-1.02.ebuild16
2 files changed, 12 insertions, 6 deletions
diff --git a/x11-plugins/wmbio/Manifest b/x11-plugins/wmbio/Manifest
index 658c52e97709..bc05fb0d44fc 100644
--- a/x11-plugins/wmbio/Manifest
+++ b/x11-plugins/wmbio/Manifest
@@ -1,4 +1,4 @@
AUX wmbio-1.02-fno-common.patch 740 BLAKE2B d53e54a24ee0a7271746632cffed02475406ce5048bf8c37d3b1b7ee0932e8c8927db8cd22aa32e7d509dbcac0e1438c2aa44cd62e48822edffe28802aef05c6 SHA512 38881970a52f20ec721ab944c43c80586a65c35f704e4103f996d6276897850754a5f912386e01c6f4c32ee48f03ca4ccef504a8c8c7fc367c4c982cab9061a7
DIST wmbio-1.02.tar.gz 21799 BLAKE2B f3736ad83e4441f027b8091d398f7f819de79d29d9d48dff0f1ab3c159e1da2fc367f8faa92addedb770d7137e7a93f8e91a29935264a6505d16c9598daad64b SHA512 bebe8de364f782c38164fdd3910c3f63ff8313fa46fce1215218a4d14b9be0c793ee1d234fdb694798c1ab49b17eca90957d22c076920bf50ecf24b563a07d5b
-EBUILD wmbio-1.02.ebuild 768 BLAKE2B 67390e3a14265a6e0215fe4ea704e21cf2c347c7cf80c6acb9f9178f44b61d7888e73d0da986d92cbfe6ad6780e855444f71409c7bde0a2154937785752d7e11 SHA512 e0b3ded12d598815617f09f5a97a3aedf29b326e8bf1f83075fcdb509226e9c9805c91b1778d65144148a29e3a5272fe6f64eb879b5243d3368431dc68491378
+EBUILD wmbio-1.02.ebuild 834 BLAKE2B ea312ddbd8105bb454a40ee025e4f730e32c2f9047a4da3f519ba9663f30a8d6998ca44e0266fd84644c38cdfeb971728281eb7475dc726810afaa15daca3a18 SHA512 62289c981e8fa9c1876af7205b64bb7b5046bc40eafc963c5f497cd12309ab5b91e6e3978fcb9c8bcf32b9122527d4b4c69e7dfc34db5b90ca5cdc51281441e2
MISC metadata.xml 604 BLAKE2B bfc37c2cedb9d900bd0e2846248b572f362c786018c7e5a67879d587510ba791804db5d04af7bd3ae87be8bc4f09764d84ff9ca7b66ba69c49dfef1ca555a18e SHA512 cefa27b984a5959d8f13454f4376c5cbdd8c2bcc6900689d64cc12e1bb0ff262bcca0bbda0c6a23b5064671b98747ecf040ec3bca105bb9df3106f2ad843b8e4
diff --git a/x11-plugins/wmbio/wmbio-1.02.ebuild b/x11-plugins/wmbio/wmbio-1.02.ebuild
index d2d2e7ccc5fb..4c7d53c862ea 100644
--- a/x11-plugins/wmbio/wmbio-1.02.ebuild
+++ b/x11-plugins/wmbio/wmbio-1.02.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
+inherit toolchain-funcs
+
DESCRIPTION="A Window Maker applet that shows your biorhythm"
HOMEPAGE="http://wmbio.sourceforge.net/"
SRC_URI="mirror://sourceforge/wmbio/${P}.tar.gz"
@@ -23,10 +25,14 @@ S=${WORKDIR}/${P}/src
src_prepare() {
default
- # Honour Gentoo CFLAGS
- sed -i "s/-g -O2/\$(CFLAGS)/" Makefile || die
- # Honour Gentoo LDFLAGS
- sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile || die
+ # Honour Gentoo CFLAGS, LDFLAGS, CC
+ sed -i -e "s/-g -O2/\$(CFLAGS)/" \
+ -e "s/-o wmbio/\$(LDFLAGS) -o wmbio/" \
+ -e "s/cc /\$(CC) /" Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
}
src_install() {