[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r917 ./packages/openofficeorg/2.3/experimental: build-depend on lib32icu36 on amd64 when using ICU 3.6 to work around #447275



------------------------------------------------------------
revno: 917
committer: Rene Engelhard <rene@debian.org>
branch nick: experimental
timestamp: Fri 2007-10-19 18:30:36 +0200
message:
  build-depend on lib32icu36 on amd64 when using ICU 3.6 to work around #447275
modified:
  changelog
  rules
=== modified file 'changelog'
--- a/changelog	2007-10-19 09:28:01 +0000
+++ b/changelog	2007-10-19 16:30:36 +0000
@@ -9,6 +9,8 @@
     - add a libstlport_gcc.so symlink in /usr/lib/openoffice/program when
       using STLport4 to not rely on libstlport4.6-dev where binary-only
       components would expect a libstlport_gcc.so
+    - build-depend on lib32icu36 on amd64 when using ICU 3.6 to work around
+      #447275
 
  -- Rene Engelhard <rene@debian.org>  Fri, 19 Oct 2007 11:23:57 +0200
 

=== modified file 'rules'
--- a/rules	2007-10-19 09:28:01 +0000
+++ b/rules	2007-10-19 16:30:36 +0000
@@ -552,6 +552,11 @@
 ifeq "$(USE_SYSTEM_ICU)" "y"
 	# 34 and 36 provide this and 38 changed the real name.
 	BUILD_DEPS += , libicu-dev [$(OOO_ARCHS)]
+  ifeq "$(BUILD_AMD64)" "y"
+    ifeq "$(shell dpkg --compare-versions `dpkg -l libicu36-dev | tail -n 1 | awk ' { print $$3 }'` ge 3.6-4 && echo 'true' || echo 'false')" "true"
+        BUILD_DEPS += , lib32icu36 [amd64]
+    endif
+  endif
 	CONFIGURE_FLAGS += --with-system-icu
 endif
 


Reply to: