aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/linux-sun-jdk12/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/linux-sun-jdk12/Makefile b/java/linux-sun-jdk12/Makefile
index a2a9aae7a311..2ffd074c341f 100644
--- a/java/linux-sun-jdk12/Makefile
+++ b/java/linux-sun-jdk12/Makefile
@@ -33,7 +33,7 @@ IGNORE= "You can not legally distribute binaries"
.endif
APP_HOME= ${PREFIX}/${PKGNAME}
-DOWNLOAD_URL= http://java.sun.com/Download5?config-file=jdk-1_2_2_011.config&platform=linux-i386
+DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSION:S/./_/g}.config&platform=linux-${ARCH}
.include <bsd.port.pre.mk>