summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 15:39:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 15:40:49 +0000
commit06164ba65418bd4040514297a9ba548653e88c08 (patch)
treefb8ff4986e2ff3d18bda4c3149853812e87ae06e
parentMerging debian version 4:24.2.2-2. (diff)
downloadlibreoffice-06164ba65418bd4040514297a9ba548653e88c08.tar.xz
libreoffice-06164ba65418bd4040514297a9ba548653e88c08.zip
Updating rules to fix FTBFS when building architecture-independent only.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules8
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 9fd80eeb78..9083f09e7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2928,9 +2928,11 @@ ifeq "$(ENABLE_JAVA)" "y"
endif
ifeq "$(ENABLE_FIREBIRD)" "y"
- mkdir -p $(PKGDIR)-sdbc-firebird/$(OODIR)/share/registry
- mv $(PKGDIR)-common/$(OODIR)/share/registry/firebird_sdbc.xcd \
- $(PKGDIR)-sdbc-firebird/$(OODIR)/share/registry
+ if [ -f $(PKGDIR)-common/$(OODIR)/share/registry/firebird_sdbc.xcd ]; then \
+ mkdir -p $(PKGDIR)-sdbc-firebird/$(OODIR)/share/registry; \
+ mv $(PKGDIR)-common/$(OODIR)/share/registry/firebird_sdbc.xcd \
+ $(PKGDIR)-sdbc-firebird/$(OODIR)/share/registry; \
+ fi
endif
ifeq "$(PACKAGE_SDK)" "y"