[Pkg-ocaml-maint-commits] [SCM] gmetadom packaging branch, master, updated. debian/0.2.6-5-7-gb7dfda0

Stephane Glondu steph at glondu.net
Tue May 31 09:04:47 UTC 2011


The following commit has been merged in the master branch:
commit f856a8ddb0b09dff21c545f28087eaf10e315059
Author: Stephane Glondu <steph at glondu.net>
Date:   Tue May 31 10:19:37 2011 +0200

    Clean the dependency_libs out of .la (Closes: #620614)

diff --git a/debian/rules b/debian/rules
index a3a3a21..fb4cd73 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,3 +8,8 @@ DEB_CONFIGURE_EXTRA_FLAGS = --with-modules="gdome_cpp_smart gdome_caml"
 common-binary-post-install-arch::
 	-find debian/ -type f -size 0 -exec rm {} \;
 	-find debian/libgdome2-ocaml-dev -type d -name CVS -exec rm -rf {} \;
+
+common-install-arch::
+	for file in debian/tmp/usr/lib/*.la; do \
+		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
+	done

-- 
gmetadom packaging



More information about the Pkg-ocaml-maint-commits mailing list