← Back to team overview

openjdk team mailing list archive

Bug#946723: openjdk-14: Please build with --enable-deprecated-ports=yes on sparc64

 

On 12/14/19 7:36 PM, John Paul Adrian Glaubitz wrote:
> Thus, in order to build OpenJDK 14 on sparc64, we need to pass the
> following extra configure option
> 
> 	  --enable-deprecated-ports=yes
> 
> which the attached patch does.

That patch was bogus. The attached patch should be correct.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@xxxxxxxxxx
`. `'   Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/openjdk-14-14~27/debian/rules new/openjdk-14-14~27/debian/rules
--- old/openjdk-14-14~27/debian/rules	2019-12-14 11:21:53.000000000 +0100
+++ new/openjdk-14-14~27/debian/rules	2019-12-14 20:18:13.422753260 +0100
@@ -389,6 +389,10 @@
   ZERO_CONFIGURE_ARGS += --with-boot-jdk-jvmargs="-XX:ThreadStackSize=2240"
 endif
 
+ifneq (,$(filter $(DEB_HOST_ARCH), sparc64))
+  DEFAULT_CONFIGURE_ARGS += --enable-deprecated-ports=yes
+endif
+
 ifeq ($(with_check),yes)
   COMMON_CONFIGURE_ARGS += --with-jtreg=/usr
 endif

References