The following commit has been merged in the master branch:
commit 3009140928dd0a9fbb43bc6933349ff16213367c
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Fri Jun 14 22:48:09 2013 +0200

    Remove RPATH from mapscript libraries.

diff --git a/debian/changelog b/debian/changelog
index f8eea61..34a4dae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ mapserver (6.2.1-3) UNRELEASED; urgency=low
   * Drop possible-gpl-code-linked-with-openssl lintian override.
   * Empty dependency_libs in la files.
   * Use PHP5API variable instead of hardcoded path to la file.
+  * Remove RPATH from mapscript libraries.
 
  -- Bas Couwenberg <sebas...@xs4all.nl>  Fri, 14 Jun 2013 22:00:07 +0200
 
diff --git a/debian/rules b/debian/rules
index 45ed9d7..03e637c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -174,7 +174,11 @@ install-arch-stamp: build-arch
          done
 
        # removing embedded rpath in binaries
-       -find $(CURDIR)/debian/tmp/usr/bin -type f  -exec chrpath --delete {} \;
+       -find $(CURDIR)/debian/tmp/usr/bin -type f -not -name mapserver-config 
-exec chrpath --delete {} \;
+
+       # removing embedded rpath in libraries
+       -find $(CURDIR)/debian/python-mapscript/usr/ -name _mapscript.so -type 
f -exec chrpath --delete {} \;
+       -find $(CURDIR)/debian/libmapscript-ruby*/usr/lib/ruby/ -type f -exec 
chrpath --delete {} \;
 
        # remove la file in php ext dir
        -$(RM) -rf $(CURDIR)/debian/tmp/usr/lib/php5/$(PHP5API)/*.la

-- 
Mapserver

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to