summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-11-10 23:34:22 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-11-10 23:34:22 +0000
commit5ff053e2adb135fe333b8c56ca25b3f3dba8d4bd (patch)
tree2252e217d0d36b82f157908325d6f2f7b4b4acbe /sci-mathematics/yacas/files
parentUpdated to new xerces-c interface, along with minor metadata update. (diff)
downloadgentoo-2-5ff053e2adb135fe333b8c56ca25b3f3dba8d4bd.tar.gz
gentoo-2-5ff053e2adb135fe333b8c56ca25b3f3dba8d4bd.tar.bz2
gentoo-2-5ff053e2adb135fe333b8c56ca25b3f3dba8d4bd.zip
Fixed a few java problems, thanks to Serkan, bug #246094
(Portage version: 2.2_rc13/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'sci-mathematics/yacas/files')
-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
+
+