summaryrefslogtreecommitdiff
path: root/app-editors/jasspa-microemacs/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
commit90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch)
tree83fc5facb6b12be510a37bc3d241cc63e965b13a /app-editors/jasspa-microemacs/files
parentfeb0daf81d888e9160f9f94502de09b66f2a63fd (diff)
gentoo resync : 29.06.2020
Diffstat (limited to 'app-editors/jasspa-microemacs/files')
-rw-r--r--app-editors/jasspa-microemacs/files/20091011-cc-detect.patch32
1 files changed, 32 insertions, 0 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