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

./packages/openofficeorg/3.1/experimental r1494: Fix DEB_BUILD_OPTIONS lang= parsing to actually



------------------------------------------------------------
revno: 1494
committer: Rene Engelhard <rene@debian.org>
branch nick: experimental
timestamp: Wed 2009-04-15 12:02:33 +0200
message:
  Fix DEB_BUILD_OPTIONS lang= parsing to actually
   work with DEB_BUILD_OPTIONS being separated by spaces as introduced in 3.8.0
modified:
  changelog
  rules
=== modified file 'changelog'
--- a/changelog	2009-04-15 09:38:01 +0000
+++ b/changelog	2009-04-15 10:02:33 +0000
@@ -3,8 +3,10 @@
   * debian/control.in, debian/control.kde.in, debian/rules:
     - disable -kde and -kdeab as they're for KDE3 (closes: #523899). Improve
       BUILD_KDE conditional
-  * debian/control.in, debian/broffice.org.postrm.in:
-    - Standards-Version: 3.8.1
+  * debian/control.in, debian/broffice.org.postrm.in, debian/rules:
+    - Standards-Version: 3.8.1. Fix DEB_BUILD_OPTIONS lang= parsing to actually
+      work with DEB_BUILD_OPTIONS being separated by spaces as introduced
+      in 3.8.0. (ccache,lang=en-US de -> ccache lang=en-US,de)
   * debian/rules, debian/control.debug.in:
     - fix lintians dbg-package-missing-depends
 

=== modified file 'rules'
--- a/rules	2009-04-15 09:38:01 +0000
+++ b/rules	2009-04-15 10:02:33 +0000
@@ -546,9 +546,9 @@
 
 ifneq "$(BUILD_ONLY_EN_US)" "y"
   ifeq (lang=,$(findstring lang=,$(DEB_BUILD_OPTIONS)))
-	ISOS=$(shell echo "$(DEB_BUILD_OPTIONS)," | sed -n 's/^.*lang=\([^,]*\),.*/\1/p')
-	HELPISOS=$(shell echo "$(DEB_BUILD_OPTIONS)," | sed -n 's/^.*lang=\([^,]*\),.*/\1/p')
-	LANGPACKISOS=$(shell echo "$(DEB_BUILD_OPTIONS)," | sed -n 's/^.*lang=\([^,]*\),.*/\1/p')
+	ISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s]*\)\s.*/\1/p' | sed -e 's/,/ /')
+	HELPISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^,\s*\)\s.*/\1/p' | sed -e 's/,/ /')
+	LANGPACKISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s]*\)\s.*/\1/p' | sed -e 's/,/ /')
   else
 	# Note that the first one here *has to be* en-US. the first one gets
 	# gid_Module_Root as filelist later and the rest gid_Module_Root.$iso


Reply to: