Adjust to proposed changes in Java versioning
* Bug #238758 proposes to change the Java versioning from versions such as "1.6.0" to versions such as "6" (for example). Modify the Makefile checks on JAVA_PORT_VERSION to cope with either format.
This commit is contained in:
@@ -38,7 +38,7 @@ DOCS_ALL_TARGET=javadoc
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${JAVA_PORT_VERSION} == "1.6.0"
|
||||
.if ${JAVA_PORT_VERSION:M*6*}
|
||||
PLIST_SUB+= JDK6=""
|
||||
.else
|
||||
PLIST_SUB+= JDK6="@comment "
|
||||
|
||||
Reference in New Issue
Block a user