updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / yacas / makefixes.patch
blob8876764b41a9e1d91fa636dab0d4a282a275b257
1 diff -Nur yacas-1.2.2/JavaYacas/makefile.yacas yacas-1.2.2_patched/JavaYacas/makefile.yacas
2 --- yacas-1.2.2/JavaYacas/makefile.yacas 2007-09-26 15:08:55.000000000 +0300
3 +++ yacas-1.2.2_patched/JavaYacas/makefile.yacas 2008-11-10 21:44:41.000000000 +0200
4 @@ -1,4 +1,4 @@
6 +JAVAC?=javac
7 .SUFFIXES: .java .class
9 all: net/sf/yacas/CVersion.java yacas.jar hints.txt
10 @@ -30,8 +31,8 @@
11 cd ../scripts/ ; jar uvf ../JavaYacas/yacas.jar *
13 .java.class:
14 - javac $*.java
15 + $(JAVAC) $(JAVACFLAGS) $*.java
17 net/sf/yacas/CVersion.java: ../config.h dumpversion.cpp
18 - g++ dumpversion.cpp -o dumpversion
19 + $(CXX) $(CXXFLAGS) dumpversion.cpp -o dumpversion
20 ./dumpversion