summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-26 08:18:54 +0100
committerSam James <sam@gentoo.org>2022-06-26 08:18:56 +0100
commite42969762748853d91279157ca2d851e27da74ed (patch)
tree2f38af056953b7d8e023a2413dac3d69901033b9
parentprofiles/arch/sparc/64ul: fix copyright header; drop obsolete media-gfx/eog[s... (diff)
downloadgentoo-e42969762748853d91279157ca2d851e27da74ed.tar.gz
gentoo-e42969762748853d91279157ca2d851e27da74ed.tar.bz2
gentoo-e42969762748853d91279157ca2d851e27da74ed.zip
sci-mathematics/pspp: add note re which
Not backporting it for now b/c not worth the eautoreconf, I guess. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sci-mathematics/pspp/files/pspp-1.6.1-drop-which-tests.patch28
-rw-r--r--sci-mathematics/pspp/pspp-1.6.1.ebuild1
2 files changed, 29 insertions, 0 deletions
diff --git a/sci-mathematics/pspp/files/pspp-1.6.1-drop-which-tests.patch b/sci-mathematics/pspp/files/pspp-1.6.1-drop-which-tests.patch
new file mode 100644
index 000000000000..5303df4dc2e6
--- /dev/null
+++ b/sci-mathematics/pspp/files/pspp-1.6.1-drop-which-tests.patch
@@ -0,0 +1,28 @@
+https://git.savannah.gnu.org/cgit/pspp.git/commit/?id=f0ac9253e8b84691cec17fc80422993949a91cc1
+
+From f0ac9253e8b84691cec17fc80422993949a91cc1 Mon Sep 17 00:00:00 2001
+From: Friedrich Beckmann <friedrich.beckmann@gmx.de>
+Date: Sun, 26 Jun 2022 09:07:18 +0200
+Subject: tests/atlocal.in - switched from which to command -v
+
+Sam James reported a possible future build problem due to the
+usage of the "which" command:
+
+https://savannah.gnu.org/bugs/?62675
+
+I replace "which" with "command -v" as proposed. Thanks for your
+support.
+
+Closes: 62675
+--- a/tests/atlocal.in
++++ b/tests/atlocal.in
+@@ -71,7 +71,7 @@ alias pspp='pspp --no-statrc'
+ # Avoids error messages during tests if $TERM is set to an unknown terminal.
+ TERM=; unset TERM
+
+-pspp_diff=`which diff`
++pspp_diff=`command -v diff`
+ if test X"$RUNNER" = Xwine; then
+ diff () {
+ $pspp_diff -w "$@"
+cgit v1.1
diff --git a/sci-mathematics/pspp/pspp-1.6.1.ebuild b/sci-mathematics/pspp/pspp-1.6.1.ebuild
index 2fd9cf7edbdb..befeed9034a2 100644
--- a/sci-mathematics/pspp/pspp-1.6.1.ebuild
+++ b/sci-mathematics/pspp/pspp-1.6.1.ebuild
@@ -14,6 +14,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+# Note: can drop test infra + which dep in next release!
IUSE="doc examples gtk ncurses nls perl postgres test"
RESTRICT="!test? ( test )"