public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/dash/
Date: Tue, 22 Aug 2017 12:23:33 +0000 (UTC)	[thread overview]
Message-ID: <1503404607.b469f19ca5eddefc9330b0913751b4d100dcdf8c.polynomial-c@gentoo> (raw)

commit:     b469f19ca5eddefc9330b0913751b4d100dcdf8c
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 12:22:44 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 12:23:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b469f19c

app-shells/dash: Revbump to drop warnx patch (bug #628588).

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-shells/dash/dash-0.5.9.1-r2.ebuild | 69 ++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/app-shells/dash/dash-0.5.9.1-r2.ebuild b/app-shells/dash/dash-0.5.9.1-r2.ebuild
new file mode 100644
index 00000000000..d67690a06d6
--- /dev/null
+++ b/app-shells/dash/dash-0.5.9.1-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs versionator
+
+#MY_PV="$(get_version_component_range 1-3)"
+DEB_PATCH="" #$(get_version_component_range 4)
+#MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Debian Almquist Shell"
+HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
+SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${P}.tar.gz"
+if [[ -n "${DEB_PATCH}" ]] ; then
+	DEB_PF="${PN}_${MY_PV}-${DEB_PATCH}"
+	SRC_URI+=" mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="libedit static vanilla"
+
+RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	libedit? ( static? ( dev-libs/libedit[static-libs] ) )"
+
+src_prepare() {
+	if [[ -n "${DEB_PATCH}" ]] ; then
+		eapply "${WORKDIR}"/${DEB_PF}.diff
+		eapply */debian/diff/*
+	fi
+	default
+
+	#337329 #527848
+	use vanilla ||  eapply "${FILESDIR}"/${PN}-0.5.9.1-dumb-echo.patch
+
+	# Fix the invalid sort
+	sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
+
+	# Use pkg-config for libedit linkage
+	sed -i \
+		-e "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(usex static --static '')\`:" \
+		configure || die
+}
+
+src_configure() {
+	append-cppflags -DJOBS=$(usex libedit 1 0)
+	use static && append-ldflags -static
+	# Do not pass --enable-glob due to #443552.
+	# Autotools use $LINENO as a proxy for extended debug support
+	# (i.e. they're running bash), so disable that. #527644
+	local myeconfargs=(
+		--bindir="${EPREFIX}"/bin
+		--enable-fnmatch
+		--disable-lineno
+		$(use_with libedit)
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	if [[ -n "${DEB_PATCH}" ]] ; then
+		dodoc */debian/changelog
+	fi
+}


             reply	other threads:[~2017-08-22 12:23 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 12:23 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 14:35 [gentoo-commits] repo/gentoo:master commit in: app-shells/dash/ Sam James
2025-01-12 14:10 Sam James
2025-01-12 13:48 Sam James
2025-01-12 13:42 Sam James
2025-01-12 13:16 Sam James
2025-01-12 13:16 Sam James
2025-01-12 13:02 Sam James
2024-08-11 10:41 Sam James
2024-08-11 10:33 Sam James
2023-01-28 20:21 Arthur Zamarin
2023-01-27  6:31 Sam James
2023-01-27  6:27 Sam James
2023-01-27  6:27 Sam James
2023-01-27  6:27 Sam James
2023-01-27  6:27 Sam James
2023-01-27  6:22 Sam James
2022-12-12 18:43 Sam James
2022-12-02 18:44 WANG Xuerui
2022-01-09 10:41 James Le Cuirot
2021-12-09 21:59 Sam James
2021-12-06  1:16 Sam James
2021-12-05 19:30 Arthur Zamarin
2021-12-05 18:39 Sam James
2021-12-05 18:31 Sam James
2021-12-05  3:45 Sam James
2021-11-03 21:09 Sam James
2021-09-10 14:30 Yixun Lan
2021-09-03 21:37 Lars Wendler
2021-06-05 13:54 Lars Wendler
2021-01-11 19:37 Lars Wendler
2021-01-11 19:13 Sam James
2021-01-11 19:13 Sam James
2021-01-10 21:58 Sam James
2021-01-10 12:42 Sam James
2021-01-10 12:42 Sam James
2021-01-10  9:35 Sam James
2021-01-10  9:28 Sam James
2021-01-06 13:26 Fabian Groffen
2020-12-24 23:17 Lars Wendler
2020-12-20 16:45 Fabian Groffen
2020-11-27 12:47 Lars Wendler
2020-11-02  9:47 Sam James
2020-10-20  7:04 Sergei Trofimovich
2020-10-20  7:02 Sergei Trofimovich
2020-10-20  6:57 Sergei Trofimovich
2020-10-20  6:51 Sergei Trofimovich
2020-10-19  0:14 Sam James
2020-10-18 23:55 Sam James
2020-10-18 18:06 Thomas Deutschmann
2020-09-27 19:30 Fabian Groffen
2020-09-03 23:57 Sam James
2020-09-02  6:33 Sergei Trofimovich
2020-09-01  3:54 Sam James
2020-08-29 22:10 Lars Wendler
2020-08-29 22:10 Lars Wendler
2020-08-21 15:36 Agostino Sarubbo
2020-08-21 15:31 Agostino Sarubbo
2020-08-21 15:27 Agostino Sarubbo
2020-08-21 15:25 Agostino Sarubbo
2020-08-21  7:50 Sam James
2020-07-08 13:47 Lars Wendler
2020-06-13 14:58 Mike Gilbert
2020-06-02  8:59 Lars Wendler
2020-05-08  9:36 Sergei Trofimovich
2020-05-08  6:25 Mart Raudsepp
2020-05-06  6:30 Agostino Sarubbo
2020-05-06  6:30 Agostino Sarubbo
2020-05-06  6:28 Agostino Sarubbo
2020-05-06  6:27 Agostino Sarubbo
2020-05-06  6:26 Agostino Sarubbo
2020-05-06  6:26 Agostino Sarubbo
2020-03-15 15:58 Michael Orlitzky
2018-06-17 14:24 Fabian Groffen
2018-05-20  0:19 Thomas Deutschmann
2018-04-20 19:01 Sergei Trofimovich
2018-04-14 20:36 Mart Raudsepp
2018-04-11 22:05 Sergei Trofimovich
2017-10-19  5:00 Markus Meier
2017-10-04  8:13 Sergei Trofimovich
2017-10-03  8:25 Sergei Trofimovich
2017-10-02 16:09 Manuel Rüger
2017-10-02 13:24 Sergei Trofimovich
2017-09-30 16:06 Thomas Deutschmann
2017-08-22 12:50 Fabian Groffen
2017-08-22 12:23 Lars Wendler
2016-12-07 17:27 Mike Frysinger
2016-10-31 14:45 Mike Gilbert
2016-10-31 14:45 Mike Gilbert

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=1503404607.b469f19ca5eddefc9330b0913751b4d100dcdf8c.polynomial-c@gentoo \
    --to=polynomial-c@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