diff options
author | Sam James <sam@gentoo.org> | 2022-06-23 05:43:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-23 05:43:53 +0100 |
commit | a4a19cca5de67ffb9d50c61f3fe1273dd6aa348e (patch) | |
tree | d0fe778b0c9c314efda747a316e48633390cbd51 /sys-process/nmon/nmon-16n.ebuild | |
parent | profiles/features/musl: update compiler-rt-sanitzers masks (diff) | |
download | gentoo-a4a19cca5de67ffb9d50c61f3fe1273dd6aa348e.tar.gz gentoo-a4a19cca5de67ffb9d50c61f3fe1273dd6aa348e.tar.bz2 gentoo-a4a19cca5de67ffb9d50c61f3fe1273dd6aa348e.zip |
sys-process/nmon: fix musl build
Closes: https://bugs.gentoo.org/712472
Thanks-to: Jory A. Pratt <anarchy@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process/nmon/nmon-16n.ebuild')
-rw-r--r-- | sys-process/nmon/nmon-16n.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys-process/nmon/nmon-16n.ebuild b/sys-process/nmon/nmon-16n.ebuild index f4d4553ac6e5..1aee09867d35 100644 --- a/sys-process/nmon/nmon-16n.ebuild +++ b/sys-process/nmon/nmon-16n.ebuild @@ -6,10 +6,10 @@ EAPI=8 inherit flag-o-matic toolchain-funcs MY_P="lmon${PV}" - -DESCRIPTION="Nigel's performance MONitor for CPU, memory, network, disks, etc..." +DESCRIPTION="Nigel's performance MONitor for CPU, memory, network, disks, etc" HOMEPAGE="http://nmon.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.c" +S="${WORKDIR}" LICENSE="GPL-3" SLOT="0" @@ -19,7 +19,9 @@ RDEPEND="sys-libs/ncurses:=" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -S="${WORKDIR}" +PATCHES=( + "${FILESDIR}"/${PN}-16n-musl.patch +) src_unpack() { cp "${DISTDIR}"/${MY_P}.c "${S}"/${PN}.c || die @@ -27,13 +29,13 @@ src_unpack() { src_configure() { local cflags=( - ## recommended by upstream to be always on + # Recommended by upstream to be always on -DGETUSER -DJFS -DLARGEMEM -DKERNEL_2_6_18 - ## archs + # Arches $(usex amd64 -DX86 '') $(usex x86 -DX86 '') $(usex arm -DARM '') |