Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145092545
D43462.1777397644.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D43462.1777397644.diff
View Options
diff --git a/math/apache-commons-math/Makefile b/math/apache-commons-math/Makefile
--- a/math/apache-commons-math/Makefile
+++ b/math/apache-commons-math/Makefile
@@ -1,6 +1,6 @@
PORTNAME= commons-math
PORTVERSION= 3.6.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math java
MASTER_SITES= APACHE_COMMONS_SOURCE \
https://repo1.maven.org/maven2/junit/junit/4.8.2/:source2
@@ -23,7 +23,7 @@
USE_JAVA= yes
USE_LOCALE= en_US.ISO8859-1
-ALL_TARGET= jar
+ALL_TARGET= compile jar
MAKE_ARGS= -Dlibdir=${WRKDIR} -Dnoget=true
JARFILE= ${PORTNAME:S,3,,}-3.6.jar
diff --git a/math/apache-commons-math/files/patch-build.xml b/math/apache-commons-math/files/patch-build.xml
--- a/math/apache-commons-math/files/patch-build.xml
+++ b/math/apache-commons-math/files/patch-build.xml
@@ -1,5 +1,16 @@
--- build.xml.orig 2016-03-17 12:14:52 UTC
+++ build.xml
+@@ -100,8 +100,8 @@
+ <property name="source.encoding" value="UTF-8"/>
+
+ <!-- JDK level -->
+- <property name="compile.source" value="1.5"/>
+- <property name="compile.target" value="1.5"/>
++ <property name="compile.source" value="8"/>
++ <property name="compile.target" value="8"/>
+
+ <!-- Base compile classpath -->
+ <path id="compile.classpath">
@@ -174,7 +174,7 @@
<!-- ========== Unit Test Targets ========================================= -->
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 28, 5:34 PM (15 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28446895
Default Alt Text
D43462.1777397644.diff (1 KB)
Attached To
Mode
D43462: math/apache-commons-math: build empty jar file (without classes) and doesn' build wiht jdk 11+
Attached
Detach File
Event Timeline
Log In to Comment