diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2020-03-29 13:35:13 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2020-03-29 13:35:26 +0200 |
commit | 56952c803f8f37df9896b9016cf8ced7dc05f2b4 (patch) | |
tree | 38a04934421a6ce7cfc0505e880e27250d4395f3 /x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild | |
parent | x11-plugins/wmifinfo: fix build with -fno-common (diff) | |
download | gentoo-56952c803f8f37df9896b9016cf8ced7dc05f2b4.tar.gz gentoo-56952c803f8f37df9896b9016cf8ced7dc05f2b4.tar.bz2 gentoo-56952c803f8f37df9896b9016cf8ced7dc05f2b4.zip |
x11-plugins/wmSMPmon: fix build with -fno-common
Closes: https://bugs.gentoo.org/707812
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild')
-rw-r--r-- | x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild b/x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild index 9619fe673e8c..cc153566aa1a 100644 --- a/x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild +++ b/x11-plugins/wmSMPmon/wmSMPmon-3.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,10 +22,17 @@ DEPEND="${RDEPEND} DOCS=( ../Changelog ) -S="${WORKDIR}/${P}/${PN}" +S=${WORKDIR}/${P}/${PN} PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) +src_prepare() { + default + + pushd "${WORKDIR}"/${P} || die + eapply "${FILESDIR}"/${P}-fno-common.patch +} + src_compile() { emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" } |