aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-04-27 04:42:09 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-04-27 04:42:09 +0800
commit390640b445e45924d06ba8a66fb48809360c62b4 (patch)
treeb3eebc474b1593a7f7181f57b3d838a4dd264d71
parent7317bf55fedc670bbaa5ea141492c673a761692d (diff)
downloadfreebsd-ports-gnome-390640b445e45924d06ba8a66fb48809360c62b4.tar.gz
freebsd-ports-gnome-390640b445e45924d06ba8a66fb48809360c62b4.tar.zst
freebsd-ports-gnome-390640b445e45924d06ba8a66fb48809360c62b4.zip
Compile kdm with -O0 always so it actually works on freebsd 4.0+
PR: 17938 Submitted by: "Jeffrey S. Sharp" <jss@subatomix.com>
-rw-r--r--x11/kdebase11/files/patch-az26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/kdebase11/files/patch-az b/x11/kdebase11/files/patch-az
new file mode 100644
index 000000000000..8bd634bccbfa
--- /dev/null
+++ b/x11/kdebase11/files/patch-az
@@ -0,0 +1,26 @@
+--- kdm/Makefile.in.orig Wed Apr 26 13:39:25 2000
++++ kdm/Makefile.in Wed Apr 26 13:40:22 2000
+@@ -121,7 +121,7 @@
+ MOC = @MOC@
+ MSGFMT = @MSGFMT@
+ NM = @NM@
+-NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
++NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@ -O0
+ PACKAGE = @PACKAGE@
+ PAMINC = @PAMINC@
+ PAMLIBPATHS = @PAMLIBPATHS@
+@@ -228,12 +228,12 @@
+ kdmdesktop_OBJECTS = kdmdesktop.o
+ kdmdesktop_DEPENDENCIES =
+ kdmdesktop_LDFLAGS =
+-CXXFLAGS = @CXXFLAGS@
++CXXFLAGS = @CXXFLAGS@ -O0
+ CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+ LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+ CXXLD = $(CXX)
+ CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -O0
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ CCLD = $(CC)