Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37792156
en ru br
ALT Linux repos
S:1.14-alt1_26jpp11

Group :: System/Libraries
RPM: vecmath1.2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: vecmath1.2-1.14-javac-1.8.patch
Download


diff --git a/Makefile.unix b/Makefile.unix
index 1964270..335dabc 100644
--- a/Makefile.unix
+++ b/Makefile.unix
@@ -57,12 +57,12 @@ all: classdir $(CLASSFILES)
 
 build:
 	export CLASSPATH; CLASSPATH=$(CLASSPATH):.; \
-	javac -deprecation -g -d $(CLASSDIR) $(JAVA_SOURCEFILES)
+	javac -source 1.8 -target 1.8 -deprecation -g -d $(CLASSDIR) $(JAVA_SOURCEFILES)
 	
 
 $(CLASSDIR)/%.class: %.java
 	export CLASSPATH; CLASSPATH=$(CLASSPATH):.; \
-	javac -deprecation -g -d $(CLASSDIR) $<
+	javac -source 1.8 -target 1.8 -deprecation -g -d $(CLASSDIR) $<
 
 $(PCDIR)/%.java: %.java
 	sed 's/$/\015/' $< > $@
@@ -76,7 +76,7 @@ docs: FORCE
 		mkdir -p docs; \
 	fi
 	export CLASSPATH; CLASSPATH=$(CLASSPATH):.; \
-	javadoc -d docs javax.vecmath
+	javadoc -source 1.8 -d docs javax.vecmath
 
 test:
 	export CLASSPATH; CLASSPATH=$(CLASSPATH):.; \
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin