The following commit has been merged in the debian-experimental-4.0 branch:
commit 724dbe2b6131a174056a0da51863a535efb9322f
Author: Rene Engelhard <[email protected]>
Date:   Wed Mar 6 02:20:08 2013 +0100

    avoid uneeded dpkg-architecture calls, we use architecture.mk anyway

diff --git a/rules b/rules
index 9562738..d1656a6 100755
--- a/rules
+++ b/rules
@@ -317,7 +317,7 @@ PACKAGE_UNOWINREG_DLL=y
 ifeq "$(DEB_VENDOR)" "Debian"
 BUILD_UNOWINREG_DLL=y
 endif
-FAKEROOT_LIBDIR=/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/libfakeroot
+FAKEROOT_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/libfakeroot
 # upstream says: "it's 'highly experimental'", I wouldn't enable it for
 # distros"
 ENABLE_TELEPATHY=n
@@ -593,7 +593,7 @@ endif
 
 ifneq (,$(filter openssl, $(SYSTEM_STUFF)))
        BUILD_DEPS += , libssl-dev
-       DBG_DBG_SUGGESTS += , libssl$(shell readlink 
/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/libssl.so | cut -d"." 
-f3,4,5)-dbg
+       DBG_DBG_SUGGESTS += , libssl$(shell readlink 
/usr/lib/$(DEB_HOST_MULTIARCH)/libssl.so | cut -d"." -f3,4,5)-dbg
 endif
 
 ifeq "$(BUILD_DBG_PACKAGE)" "y"
@@ -786,7 +786,7 @@ ifeq "$(ENABLE_JAVA)" "y"
        BUILD_DEPS += , ant (>= 1.6.5)$(OOO_NO_JAVA_ARCHS)
   endif
        GCJ_VERSION = $(shell basename `readlink $(JAVA_HOME)/bin/gcj` | sed -e 
s/gcj-//)
-       GCJ_JAWT_DEPENDS= $(shell dpkg -S /usr/lib/`dpkg-architecture 
-qDEB_HOST_MULTIARCH`/gcj-$(GCJ_VERSION)-*/libgcj_bc.so.1 | cut -d: -f1 | sed 
-e s/$$/-awt/)
+       GCJ_JAWT_DEPENDS= $(shell dpkg -S 
/usr/lib/$(DEB_HOST_MULTIARCH)/gcj-$(GCJ_VERSION)-*/libgcj_bc.so.1 | cut -d: 
-f1 | sed -e s/$$/-awt/)
        DBG_DBG_SUGGESTS+= , $(shell echo $(GCJ_AWT_DEPENDS) | sed -e 
s/awt/dbg/)
        JAVA_RUNTIME_DEPENDS = default-jre | gcj-jre | java-gcj-compat
 #  ifneq (,$(GCJ_JAWT_DEPENDS))

-- 
LibreOffice packaging repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to