summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-23 08:12:35 +0000
committerSam James <sam@gentoo.org>2021-12-23 08:13:46 +0000
commitd6b79ed69027be967e705cc4ab3116dbc539f69a (patch)
tree895f21ac4343e671d1f309922da72831a71b125a /app-admin/sud/sud-1.3-r1.ebuild
parentsys-fabric/libcxgb4: fix build on musl (diff)
downloadgentoo-d6b79ed69027be967e705cc4ab3116dbc539f69a.tar.gz
gentoo-d6b79ed69027be967e705cc4ab3116dbc539f69a.tar.bz2
gentoo-d6b79ed69027be967e705cc4ab3116dbc539f69a.zip
app-admin/sud: fix build on musl
Closes: https://bugs.gentoo.org/713470 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/sud/sud-1.3-r1.ebuild')
-rw-r--r--app-admin/sud/sud-1.3-r1.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/app-admin/sud/sud-1.3-r1.ebuild b/app-admin/sud/sud-1.3-r1.ebuild
index 7c72435d9c4d..0690a89921ef 100644
--- a/app-admin/sud/sud-1.3-r1.ebuild
+++ b/app-admin/sud/sud-1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,12 +12,18 @@ SRC_URI="http://s0ftpj.org/projects/sud/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-PATCHES=( "${FILESDIR}"/${PN}-1.3-fix-build-system.patch )
+DEPEND="elibc_musl? ( sys-libs/queue-standalone )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3-fix-build-system.patch
+ "${FILESDIR}"/${PN}-1.3-use-system-queue.patch
+)
src_prepare() {
default
+
+ rm sud/queue.h || die
eautoreconf
}