[Pkg-cli-libs-commits] [SCM] hyena branch, master, updated. debian/0.3-1-6-g7ae1428

Chow Loong Jin hyperair at ubuntu.com
Fri Mar 4 21:14:18 UTC 2011


The following commit has been merged in the master branch:
commit 9bc562e60a314b45855ae1cb62b00ffac5f8a7b7
Author: Chow Loong Jin <hyperair at ubuntu.com>
Date:   Sat Mar 5 04:45:56 2011 +0800

    Fix up .pc mangling

diff --git a/debian/rules b/debian/rules
index b8c36da..6799c03 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,8 +15,10 @@ override_dh_auto_configure:
 	dh_auto_configure -- \
 		MCS=/usr/bin/mono-csc \
 		--enable-debug
-	find src -name '*.pc' -print | \
-		xargs sed -i -re 's|@expanded_libdir@|/usr/lib|g; s|[a-zA-Z/.]+.mdb||g'
+
+override_dh_auto_build:
+	dh_auto_build
+	find -type f -name '*.pc' -print0 -exec sed -i -re 's|[^ =]+.mdb||g' '{}' \+
 
 override_dh_auto_build:
 	dh_auto_build

-- 
hyena



More information about the Pkg-cli-libs-commits mailing list