[openjdk-8] 04/04: Pass the --with-update-version option for update releases
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Apr 16 17:29:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository openjdk-8.
commit 939b71feec68a075de1588b475bb5763a4452914
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Apr 16 18:39:28 2014 +0200
Pass the --with-update-version option for update releases
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index 8613e0b..ef39aee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -63,8 +63,10 @@ p_lib_arch = all
jvmver = 1.8.0
shortver = 8
buildver = $(shell echo $(PKGVERSION) | sed -n 's/.*\(b[0-9]\+\).*/\1/p')
+update_version = $(shell echo $(PKGVERSION) | sed -n 's/.*u\([0-9]\+\).*/\1/p')
ifneq (,$(filter $(DEB_HOST_ARCH),arm64))
buildver = $(shell ls aarch64-port-jdk8* | sed -n 's/.*\(b[0-9]\+\).*/\1/p')
+ update_version= $(shell ls aarch64-port-jdk8* | sed -n 's/.*u\([0-9]\+\).*/\1/p')
endif
ifneq (,$(DEB_HOST_MULTIARCH))
jdirname = java-$(shortver)-$(origin)-$(DEB_HOST_ARCH)
@@ -424,6 +426,10 @@ CONFIGURE_ARGS = --with-boot-jdk=$(BOOTJDK_HOME)
CONFIGURE_ARGS += --with-build-number=$(buildver)
+ifneq (,$(update_version))
+ CONFIGURE_ARGS += --with-update-version=$(update_version)
+endif
+
# there are problems --with-alt-jar=/usr/bin/fastjar,
# see http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=217
# only use it for zero ports except powerpc (which we assume as
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjdk-8.git
More information about the pkg-java-commits
mailing list