summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-03-07 20:33:46 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-03-07 20:33:46 +0000
commite0ca9ee4f77baf49244e1e6cbe086020a70e7978 (patch)
tree66ef3b8e4915e1d3b83b35e3dfec769462a9015e /app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile-gentoo.patch
parentBump to 4.3.1. (diff)
downloadgentoo-2-e0ca9ee4f77baf49244e1e6cbe086020a70e7978.tar.gz
gentoo-2-e0ca9ee4f77baf49244e1e6cbe086020a70e7978.tar.bz2
gentoo-2-e0ca9ee4f77baf49244e1e6cbe086020a70e7978.zip
version bump with snapshot from upstream CVS
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile-gentoo.patch')
-rw-r--r--app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile-gentoo.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile-gentoo.patch b/app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile-gentoo.patch
new file mode 100644
index 000000000000..a3571518851b
--- /dev/null
+++ b/app-editors/qemacs/files/qemacs-0.4.0_pre20080605-Makefile-gentoo.patch
@@ -0,0 +1,56 @@
+--- Makefile.orig 2009-03-07 21:27:48.000000000 +0100
++++ Makefile 2009-03-07 21:28:43.000000000 +0100
+@@ -19,32 +19,6 @@
+
+ include config.mak
+
+-ifeq ($(CC),gcc)
+- CFLAGS := -Wall -g -O2 -funsigned-char
+- # do not warn about zero-length formats.
+- CFLAGS += -Wno-format-zero-length
+- LDFLAGS := -g
+-endif
+-
+-#include local compiler configuration file
+--include cflags.mk
+-
+-ifdef TARGET_GPROF
+- CFLAGS += -p
+- LDFLAGS += -p
+-endif
+-
+-TLDFLAGS := $(LDFLAGS)
+-
+-ifdef TARGET_ARCH_X86
+- #CFLAGS+=-fomit-frame-pointer
+- ifeq ($(GCC_MAJOR),2)
+- CFLAGS+=-m386 -malign-functions=0
+- else
+- CFLAGS+=-march=i386 -falign-functions=0
+- endif
+-endif
+-
+ DEFINES=-DHAVE_QE_CONFIG_H
+
+ ########################################################
+@@ -354,16 +328,16 @@
+ install: $(TARGETS) qe.1
+ $(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/bin
+ $(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/man/man1
+- $(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/share/qe
++ $(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/share/qemacs
+ $(INSTALL) -m 755 -s qe$(EXE) $(DESTDIR)$(prefix)/bin/qemacs$(EXE)
+- ln -sf qemacs $(DESTDIR)$(prefix)/bin/qe$(EXE)
+ ifdef CONFIG_FFMPEG
+ ln -sf qemacs$(EXE) $(DESTDIR)$(prefix)/bin/ffplay$(EXE)
+ endif
+- $(INSTALL) -m 644 kmaps ligatures $(DESTDIR)$(prefix)/share/qe
+- $(INSTALL) -m 644 qe.1 $(DESTDIR)$(prefix)/man/man1
++ $(INSTALL) -m 644 kmaps ligatures $(DESTDIR)$(prefix)/share/qemacs
++ $(INSTALL) -m 644 qe.1 $(DESTDIR)$(prefix)/man/man1/qemacs.1
+ ifdef CONFIG_HTML
+ $(INSTALL) -m 755 -s html2png$(EXE) $(DESTDIR)$(prefix)/bin
++ $(INSTALL) -m 755 libqhtml/csstoqe $(DESTDIR)$(prefix)/bin/csstoqe
+ endif
+
+ uninstall: