Re: Bug#963109: libreoffice: Please drop clang from build-dependencies for alpha and ia64

John Paul Adrian Glaubitz <[email protected]> Wed, 11 Jan 2023 20:03:49 +0100
Newsgroups gmane.linux.debian.ports.ia64,gmane.linux.debian.ports.alpha
Message-ID <[email protected]>
Hi!

On 1/11/23 19:45, John Paul Adrian Glaubitz wrote:
> Attaching a patch which modifies debian/rules accordingly so that the build dependencies
> are corrected after running "debian/rules debian/control".
> 
> Please consider including it for the next upload.

Oops, I just realized I forgot to add the line for "llvm". Please find an updated patch.

Thanks,
Adrian

-- 
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lo-alpha-ia64-no-clang.patch (text/x-patch, 839 B)
--- debian/rules.orig	2022-12-29 23:21:43.000000000 +0000
+++ debian/rules	2023-01-11 18:53:56.537857661 +0000
@@ -688,7 +688,7 @@
     else
       ifeq "$(ALLOW_CLANG)" "y"
         ifeq "$(CLANG_VERSION)" "default"
-	  BUILD_DEPS += , llvm [$(OOO_LE_ARCHS)]
+	  BUILD_DEPS += , llvm [$(filter-out alpha ia64,$(OOO_LE_ARCHS))]
         else
 	  BUILD_DEPS += , llvm-$(CLANG_VERSION)-linker-tools [$(OOO_LE_ARCHS)]
         endif
@@ -766,7 +766,7 @@
       ifeq "$(CLANG_VERSION)" "default"
 	export LO_CLANG_CC=clang
 	export LO_CLANG_CXX=clang++
-	BUILD_DEPS += , clang (>= 1:8.0.1) [$(filter-out armel ppc64el,$(OOO_LE_ARCHS))]
+	BUILD_DEPS += , clang (>= 1:8.0.1) [$(filter-out alpha armel ia64 ppc64el,$(OOO_LE_ARCHS))]
 	# see #963162, #963167 which apparently don't exist on 11
 	BUILD_DEPS += , clang (>= 1:11) [armel]
       else