From 2336cf08fb785c082fe687081dde2ff13caa086f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 4 Sep 2014 15:43:55 +0200 Subject: [PATCH] openjdk: rework global vars to make xbps-checkvers(8) happy. --- srcpkgs/openjdk/template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/openjdk/template b/srcpkgs/openjdk/template index 43560ed91d..2bbb182df8 100644 --- a/srcpkgs/openjdk/template +++ b/srcpkgs/openjdk/template @@ -3,14 +3,15 @@ # TODO: config files? # TODO: find giflib patch for --with-giflib=system -# Template file for 'openjdk' -pkgname=openjdk _java_ver=8 _jdk_update=20 _jdk_build=23 +_repo_ver="jdk${_java_ver}u${_jdk_update}-b${_jdk_build}" +_openjdk_version="openjdk-1.8.0_${_jdk_update}" + +# Template file for 'openjdk' +pkgname=openjdk version=${_java_ver}u${_jdk_update} -_repo_ver=jdk${_java_ver}u${_jdk_update}-b${_jdk_build} -_openjdk_version=openjdk-1.8.0_$(printf '%.2d' ${_jdk_update}) revision=6 nocross=yes wrksrc=jdk8u-jdk8u${_jdk_update}-b${_jdk_build}/