public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/musl:master commit in: sys-fs/reiserfsprogs/
Date: Tue, 27 Dec 2022 18:27:46 +0000 (UTC)	[thread overview]
Message-ID: <1672165498.74fba6004ab33974ceb7687aa800246d7460a18f.ajak@gentoo> (raw)

commit:     74fba6004ab33974ceb7687aa800246d7460a18f
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 18:24:58 2022 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 18:24:58 2022 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=74fba600

sys-fs/reiserfsprogs: EAPI=7 for removal of EAPI=6 from usr-ldscript

Essentially a merge between the ::gentoo and ::musl ebuilds.

Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 ....6.27.ebuild => reiserfsprogs-3.6.27-r1.ebuild} | 30 +++++++++++-----------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27-r1.ebuild
similarity index 77%
rename from sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild
rename to sys-fs/reiserfsprogs/reiserfsprogs-3.6.27-r1.ebuild
index 3cc96f10..64abc406 100644
--- a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild
+++ b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit autotools flag-o-matic usr-ldscript
 
@@ -15,42 +15,42 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv -sparc x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
-BDEPEND="
-	elibc_musl? ( sys-libs/obstack-standalone )
-"
+# Needed for libuuid
+RDEPEND="sys-apps/util-linux"
+BDEPEND="elibc_musl? ( sys-libs/obstack-standalone )"
+DEPEND="${RDEPEND}"
 
 PATCHES=(
 	"${FILESDIR}/${PN}-3.6.25-no_acl.patch"
 	"${FILESDIR}/${PN}-3.6.27-loff_t.patch"
+	"${FILESDIR}/musl-__compar_fn_t.patch"
+	"${FILESDIR}/musl-loff_t.patch"
+	"${FILESDIR}/musl-long_long_min_max.patch"
+	"${FILESDIR}/musl-prints.patch"
 )
 
 src_prepare() {
 	default
-
-	if use elibc_musl ; then
-		eapply "${FILESDIR}/musl-__compar_fn_t.patch"
-		eapply "${FILESDIR}/musl-loff_t.patch"
-		eapply "${FILESDIR}/musl-long_long_min_max.patch"
-		eapply "${FILESDIR}/musl-prints.patch"
-	fi
-
 	eautoreconf
 }
 
 src_configure() {
 	append-flags -std=gnu89 #427300
-	use elibc_musl && append-ldflags -lobstack
+	append-ldflags -lobstack
+
 	local myeconfargs=(
 		--bindir="${EPREFIX}/bin"
 		--libdir="${EPREFIX}/$(get_libdir)"
 		--sbindir="${EPREFIX}/sbin"
 		$(use_enable static-libs static)
 	)
+
 	econf "${myeconfargs[@]}"
 }
 
 src_install() {
 	default
+
 	dodir /usr/$(get_libdir)
 	mv "${ED}"/$(get_libdir)/pkgconfig "${ED}"/usr/$(get_libdir) || die
 
@@ -58,6 +58,6 @@ src_install() {
 		mv "${ED}"/$(get_libdir)/*a "${ED}"/usr/$(get_libdir) || die
 		gen_usr_ldscript libreiserfscore.so
 	else
-		find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete
+		find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
 	fi
 }


             reply	other threads:[~2022-12-27 18:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27 18:27 John Helmert III [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-02 22:08 [gentoo-commits] proj/musl:master commit in: sys-fs/reiserfsprogs/ Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1672165498.74fba6004ab33974ceb7687aa800246d7460a18f.ajak@gentoo \
    --to=ajak@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox