summaryrefslogtreecommitdiff
path: root/math/rascal/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-06-27 18:26:12 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-06-27 18:26:12 +0000
commit52a690992bf3f05ee4b1bb1da39f153dade05037 (patch)
treeeb21e1d3e16cdb88fe682b06e7c348fd902c746a /math/rascal/files
parentupgrade to 0.3.1 (diff)
upgrade to 0.2.5
build with optimization again
Notes
Notes: svn path=/head/; revision=44510
Diffstat (limited to 'math/rascal/files')
-rw-r--r--math/rascal/files/patch-Makefile40
1 files changed, 10 insertions, 30 deletions
diff --git a/math/rascal/files/patch-Makefile b/math/rascal/files/patch-Makefile
index d7f728097898..2c6470845840 100644
--- a/math/rascal/files/patch-Makefile
+++ b/math/rascal/files/patch-Makefile
@@ -1,40 +1,20 @@
---- Makefile.orig Sat Jun 23 08:05:50 2001
-+++ Makefile Wed Jun 27 01:10:23 2001
+--- Makefile.orig Thu Jun 28 02:07:37 2001
++++ Makefile Thu Jun 28 02:11:27 2001
@@ -21,4 +21,3 @@
-CC=g++
-CFLAGS=-O0 -g -DVERSION=\"$(VERSION)\"
-+CXXFLAGS=-O0 -DVERSION=\"$(VERSION)\" -I%%LOCALBASE%%/include
- # with the following options you might be able to optimize
-@@ -33,3 +32,3 @@
++CFLAGS+=-DVERSION=\"$(VERSION)\" -I%%LOCALBASE%%/include
+ # With the following options you may generate an optimized version of
+@@ -38,3 +37,3 @@
-LIBS=-lm -lreadline -lcurses
+LIBS=-lm -lreadline -lcurses -L%%LOCALBASE%%/lib -lgnugetopt
OBJS=y.tab.o lex.yy.o symtab.o value.o
-@@ -38,4 +37,8 @@
-
-+.SUFFIXES: .o .c
+@@ -42,2 +41,6 @@
+ -include value.mak
+
-+.c.o: ; ${CXX} ${CXXFLAGS} -c $*.c
++.SUFFIXES: .o .c
+
- rascal: $(OBJS)
-- g++ -o rascal $(CFLAGS) $(OBJS) $(LIBS)
-+ g++ -o rascal $(CXXFLAGS) $(OBJS) $(LIBS)
- test: rascal
-@@ -73,7 +76,7 @@
- $(INSTALL) ./rascal.rc $(PREFIX)/bin/
-+ $(INSTDIR) $(PREFIX)/share/doc/rascal
- $(STRIP) $(PREFIX)/bin/rascal
-- $(INSTDIR) $(PREFIX)/doc/rascal
-- $(INSTALL) rascal.ps $(PREFIX)/doc/rascal
-- $(INSTALL) rascal.pdf $(PREFIX)/doc/rascal
-- -$(INSTDIR) $(PREFIX)/doc/rascal/html
-+ $(INSTALL) rascal.ps $(PREFIX)/share/doc/rascal
-+ $(INSTALL) rascal.pdf $(PREFIX)/share/doc/rascal
-+ -$(INSTDIR) $(PREFIX)/share/doc/rascal/html
- -$(INSTALL) rascal_html/index.html rascal_html/rascal.html rascal_html/*.gif rascal_html/*.css $(PREFIX)/doc/rascal/html
-@@ -112,3 +115,3 @@
- value.o: value.hpp value.out value.cpp modules/*.cpp modules/*.hpp
-- g++ $(CFLAGS) -c -o value.o value.cpp
-+ g++ $(CXXFLAGS) -c -o value.o value.cpp
- parsevalue: parsevalue.cpp
++.c.o: ; ${CXX} ${CFLAGS} -c $*.c
+