summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/yacas/files/yacas-1.2.2-makefixes.patch')
-rw-r--r--sci-mathematics/yacas/files/yacas-1.2.2-makefixes.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-mathematics/yacas/files/yacas-1.2.2-makefixes.patch b/sci-mathematics/yacas/files/yacas-1.2.2-makefixes.patch
new file mode 100644
index 000000000000..4f4f8acd2125
--- /dev/null
+++ b/sci-mathematics/yacas/files/yacas-1.2.2-makefixes.patch
@@ -0,0 +1,22 @@
+diff -Nur yacas-1.2.2/JavaYacas/makefile.yacas yacas-1.2.2_patched/JavaYacas/makefile.yacas
+--- yacas-1.2.2/JavaYacas/makefile.yacas 2007-09-26 15:08:55.000000000 +0300
++++ yacas-1.2.2_patched/JavaYacas/makefile.yacas 2008-11-10 21:44:41.000000000 +0200
+@@ -1,4 +1,4 @@
+-
++JAVAC?=javac
+ .SUFFIXES: .java .class
+
+ all: net/sf/yacas/CVersion.java yacas.jar hints.txt
+@@ -30,10 +31,10 @@
+ cd ../scripts/ ; jar uvf ../JavaYacas/yacas.jar *
+
+ .java.class:
+- javac $*.java
++ $(JAVAC) $(JAVACFLAGS) $*.java
+
+ net/sf/yacas/CVersion.java: ../config.h dumpversion.cpp
+- g++ dumpversion.cpp -o dumpversion
++ $(CXX) $(CXXFLAGS) dumpversion.cpp -o dumpversion
+ ./dumpversion
+
+