summaryrefslogtreecommitdiff
path: root/app-emacs/proofgeneral
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/proofgeneral')
-rw-r--r--app-emacs/proofgeneral/Manifest3
-rw-r--r--app-emacs/proofgeneral/files/proofgeneral-4.5-posix-no-which.patch40
-rw-r--r--app-emacs/proofgeneral/proofgeneral-4.5.ebuild4
3 files changed, 45 insertions, 2 deletions
diff --git a/app-emacs/proofgeneral/Manifest b/app-emacs/proofgeneral/Manifest
index cb7947edcec6..fb962a4bdc5c 100644
--- a/app-emacs/proofgeneral/Manifest
+++ b/app-emacs/proofgeneral/Manifest
@@ -1,6 +1,7 @@
AUX 50proofgeneral-gentoo.el 68 BLAKE2B 14c41f176f78dee51fdb893f355c2b8cf00456e0b586c7c41c91f2eea6f8d0baaf8d6a04eda385031c96c138d47c0e7e99a75be7cd27ffd0d2087e0a69ded0b2 SHA512 32f3d33d85776f1695d542adadb8e35e372659fcce2805fc205732cd911be186cd5a1a63a8438287467dea744da9ef212f7338c0edb735a525ec30f892f1afca
AUX proofgeneral-4.4-desktop.patch 425 BLAKE2B fdefa2835502ded79bc08ffff7906315913a0e740269ba5a1863bf4ef8c602ee56eda1c25fc2ff161cd0131b6c615bbcea3770bc39ef18ae654b892571c92deb SHA512 dc594dc08432fb5a4068b7aabcb85ff58b9e784903f912694da08ef97ec9bfca229dcc4d965ca5286993173083c89dc53805f09f7152eb183829985c3c4c5b22
AUX proofgeneral-4.5-paths.patch 762 BLAKE2B 77f7b828dfa1648b6d8818951fca297194192b4c2d6ef2f510c25f33a9cb8d9db8f11a1dbeda5a9235d60063fcaede1ad10efbd2e28e2cbe0f6485af9d90bbcf SHA512 89d7ea239e5530e7dc2b6520bfaeafd68cc77db58ba0786401dad57d52e5fdaa3efe83e9402449581f89c683d044401a2f4aec93dc69c7fcae972d423cab6594
+AUX proofgeneral-4.5-posix-no-which.patch 1455 BLAKE2B 976fa6d8dac92d3bfd8e23004e85a3cb0acdcd45f69607829168f0605c5e54bc4864dd7425b076e0e11a63003e8d3c5e18568f6475e82beb5a7d92abd3634ddd SHA512 8683e164f8f0ee4325ac4f075f709f116a2bf7f172544dc5a9edc98c2869443336f8b17490dd4a878a949995df844b809c4b912f85e12969aea9dad7647db32c
DIST proofgeneral-4.5.tar.gz 1198535 BLAKE2B 24f93200d01752fb358ac88531b4b34392b7b968c7dbd7a7b3dcedfe71fa985ca893465bff503e3fc0efd267faeb3f5d8bd3d35f68847a4c90252e3a0bdd456b SHA512 ab2eed43053e3b6749e840a8d742058eaa91bfff7edbe12ea67bc492ffab07e1d77cf6a7772cb8c42ac73cae2cce65b48898b1cd10a77b906089768f8055b366
-EBUILD proofgeneral-4.5.ebuild 1445 BLAKE2B a4d97562bb2ba747aca7e01a90eaec57712e6900a98b8b754a88eae8b8d9ea2bab3508f371e6f7242802a4eb9989a3ca46dd8d767939e7ceaf68d417f319d026 SHA512 aa09b4dccef3ac3149570c78fd024822c0dd494819f9ef141ab34a9726f5141986fe72bf0d5814eb8d3972ff5a648c254a69611319ec87bca3896e2a21670708
+EBUILD proofgeneral-4.5.ebuild 1492 BLAKE2B a453ebf25a5e9f6b8800e2905ffd1b05c09c8e8106c26b52cadebf309e6364f861ec25a2e4124fea3e18f7e16bacd41b74be648307cf51a5104b9067dd46122b SHA512 e788e00bcdacbc94e9a1b901ea0596910e792a2233196d5b8527c4f88dc351173515f566d7d847c39d14d5228917ccc590211b570e611eb79b7cfdd35784d8aa
MISC metadata.xml 656 BLAKE2B 5fde6e347ee778bf4ac7f46bd6b8928eb9fa1a6aaf02b8dff5b533f7dbf989799a6fa948161fccab5716ed7d61866750e8e8e8127a83258075009f2e1dd1a0e9 SHA512 481b819f3541c90b114f79eb831b0d1f0d7f3510e468f4b9d9ec7e98078dc4fc15c7fc983d25accd5a8ab3d588ff820af1d46d479bd11b6134fa1b0842072d2f
diff --git a/app-emacs/proofgeneral/files/proofgeneral-4.5-posix-no-which.patch b/app-emacs/proofgeneral/files/proofgeneral-4.5-posix-no-which.patch
new file mode 100644
index 000000000000..cd1ed1529407
--- /dev/null
+++ b/app-emacs/proofgeneral/files/proofgeneral-4.5-posix-no-which.patch
@@ -0,0 +1,40 @@
+From 2dac06d9e3f8e66f1619585c86f05a538a75de08 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
+Date: Mon, 24 Feb 2025 19:29:48 +0100
+Subject: [PATCH] Makefile: Replace "which" by POSIX "command -v"
+
+---
+ Makefile | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 7a5df5602..b9b28aab5 100644
+--- a/Makefile
++++ b/Makefile
+@@ -21,7 +21,7 @@
+
+ # Set this according to your version of Emacs.
+ # NB: this is also used to set default install path names below.
+-EMACS=$(shell if [ -z "`which emacs`" ]; then echo "Emacs executable not found"; exit 1; else echo emacs; fi)
++EMACS=$(shell if [ -z "`command -v emacs`" ]; then echo "Emacs executable not found"; exit 1; else echo emacs; fi)
+
+ # We default to /usr rather than /usr/local because installs of
+ # desktop and doc files under /usr/local are unlikely to work with
+@@ -273,7 +273,7 @@ scripts: bashscripts perlscripts
+
+ .PHONY: bashscripts
+ bashscripts:
+- (bash="`which bash`"; \
++ (bash="`command -v bash`"; \
+ if [ -z "$$bash" ]; then \
+ echo "Could not find bash - bash paths not checked" >&2; \
+ exit 0; \
+@@ -281,7 +281,7 @@ bashscripts:
+
+ .PHONY: perlscripts
+ perlscripts:
+- (perl="`which perl`"; \
++ (perl="`command -v perl`"; \
+ if [ -z "$$perl" ]; then \
+ echo "Could not find perl - perl paths not checked" >&2; \
+ exit 0; \
diff --git a/app-emacs/proofgeneral/proofgeneral-4.5.ebuild b/app-emacs/proofgeneral/proofgeneral-4.5.ebuild
index 021c56340c58..a5ca4a5d9022 100644
--- a/app-emacs/proofgeneral/proofgeneral-4.5.ebuild
+++ b/app-emacs/proofgeneral/proofgeneral-4.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,9 @@ KEYWORDS="amd64 ppc x86"
PATCHES=(
"${FILESDIR}"/${PN}-4.4-desktop.patch
"${FILESDIR}"/${PN}-4.5-paths.patch
+ "${FILESDIR}"/${PN}-4.5-posix-no-which.patch
)
+
DOCS=( AUTHORS BUGS CHANGES COMPATIBILITY FAQ.md INSTALL README.md )
SITEFILE="50${PN}-gentoo.el"