diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-06-23 11:01:17 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-06-23 12:46:18 +0200 |
commit | 254c16078eddcf4c41abe1d807218494ac831b15 (patch) | |
tree | 7b3b084f8a7dc4e0cc77af2fc080d99f204694f0 /app-editors | |
parent | sys-kernel/ck-sources: Version bump 5.4.48 (diff) | |
download | gentoo-254c16078eddcf4c41abe1d807218494ac831b15.tar.gz gentoo-254c16078eddcf4c41abe1d807218494ac831b15.tar.bz2 gentoo-254c16078eddcf4c41abe1d807218494ac831b15.zip |
app-editors/jasspa-microemacs: Do not try to detect cc or gcc.
Closes: https://bugs.gentoo.org/729258
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/jasspa-microemacs/files/20091011-cc-detect.patch | 32 | ||||
-rw-r--r-- | app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild | 3 |
2 files changed, 34 insertions, 1 deletions
diff --git a/app-editors/jasspa-microemacs/files/20091011-cc-detect.patch b/app-editors/jasspa-microemacs/files/20091011-cc-detect.patch new file mode 100644 index 000000000000..123d78c895ff --- /dev/null +++ b/app-editors/jasspa-microemacs/files/20091011-cc-detect.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/729258 + +--- me091011-orig/src/build ++++ me091011/src/build +@@ -158,12 +158,8 @@ + exit 1 + fi + +- # use cc by default if available + if [ -r $MAKEBAS.mak ] ; then +- # try to detect cc, if found use it in preference +- if [ "`type cc | cut -b 1-5`" = "cc is" ] ; then +- MAKEFILE=$MAKEBAS.mak +- fi ++ MAKEFILE=$MAKEBAS.mak + # Special rules for sun, if cc is /usr/ucb then this is a dummy. + if [ $PLATFORM = "SunOS" ] ; then + WHATCC=`/usr/bin/which cc` +@@ -173,12 +169,8 @@ + fi + fi + if [ -z "$MAKEFILE" ] ; then +- # failed to find cc, try gcc + if [ -r $MAKEBAS.gmk ] ; then +- # try to detect gcc, if found use it in preference +- if [ "`type gcc | cut -b 1-6`" = "gcc is" ] ; then +- MAKEFILE=$MAKEBAS.gmk +- fi ++ MAKEFILE=$MAKEBAS.gmk + fi + fi + if [ -z "$MAKEFILE" ] ; then diff --git a/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild index 27f5e8a43037..e41568ee3659 100644 --- a/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild +++ b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -37,6 +37,7 @@ S="${WORKDIR}/me${PV:2}" PATCHES=( "${FILESDIR}"/${PV}-ncurses.patch "${FILESDIR}"/${PV}-linux3.patch + "${FILESDIR}"/${PV}-cc-detect.patch ) src_unpack() { |