summaryrefslogtreecommitdiff
path: root/math/octave-current/patches
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-07 06:18:35 +0000
committerjmc <jmc@pkgsrc.org>2002-03-07 06:18:35 +0000
commitf2a2fb1ab6715c37d9ca6c8081315ade44b18180 (patch)
tree6070b75212c74cda5a1a6e9ba67c658e364298b2 /math/octave-current/patches
parent45bd6d723b1014a9cf2d4bf268eb715daf65065f (diff)
downloadpkgsrc-f2a2fb1ab6715c37d9ca6c8081315ade44b18180.tar.gz
Don't do any optmization when compiling parse.cc as it triggers bugs on powerpc
Diffstat (limited to 'math/octave-current/patches')
-rw-r--r--math/octave-current/patches/patch-ag20
1 files changed, 15 insertions, 5 deletions
diff --git a/math/octave-current/patches/patch-ag b/math/octave-current/patches/patch-ag
index dcf7bc2bc2e..b3d26250d94 100644
--- a/math/octave-current/patches/patch-ag
+++ b/math/octave-current/patches/patch-ag
@@ -1,7 +1,7 @@
-$NetBSD: patch-ag,v 1.3 2001/04/22 23:49:55 jtb Exp $
+$NetBSD: patch-ag,v 1.4 2002/03/07 06:18:36 jmc Exp $
---- src/Makefile.in.orig Mon Apr 23 00:47:13 2001
-+++ src/Makefile.in
+--- src/Makefile.in.orig Thu Mar 7 00:07:18 2002
++++ src/Makefile.in Thu Mar 7 05:14:39 2002
@@ -143,13 +143,7 @@
OBJECTS_1 := $(patsubst %.c, %.o, $(OBJECTS_2))
OBJECTS := $(patsubst %.cc, %.o, $(OBJECTS_1))
@@ -70,7 +70,17 @@ $NetBSD: patch-ag,v 1.3 2001/04/22 23:49:55 jtb Exp $
stmp-pic: pic
@if [ -f stmp-pic ]; then \
-@@ -344,20 +321,7 @@
+@@ -288,6 +265,9 @@
+ @$(srcdir)/mkbuiltins def-files var-files > $@.t
+ @$(top_srcdir)/move-if-change $@.t $@
+
++parse.o: parse.cc
++ ${LIBTOOL} --mode=compile $(CXX) -c $(CPPFLAGS) $(filter-out -O -O2,$(ALL_CXXFLAGS)) $< -o $@
++
+ DOCSTRINGS: gendoc
+ ./gendoc > $@.t
+ mv $@.t $@
+@@ -344,20 +324,7 @@
install-lib:
$(top_srcdir)/mkinstalldirs $(octlibdir)
@@ -92,7 +102,7 @@ $NetBSD: patch-ag,v 1.3 2001/04/22 23:49:55 jtb Exp $
$(mk-libdir-link)
.PHONY: install-lib
-@@ -449,11 +413,6 @@
+@@ -449,11 +416,6 @@
.PHONY: bin-dist
# Special rules -- these files need special things to be defined.