[mapserver] 02/03: Support new vendorarch path for Perl modules.

Bas Couwenberg sebastic at xs4all.nl
Sat Jul 5 15:06:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository mapserver.

commit 9872527c1bb83df396107993a4ae84e1f0d7575d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jul 5 16:04:45 2014 +0200

    Support new vendorarch path for Perl modules.
---
 debian/changelog                 | 3 +++
 debian/libmapscript-perl.install | 8 +++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 84a116f..89c49e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ mapserver (6.4.1-5) UNRELEASED; urgency=medium
 
   * Add debug package for libmapserver. Thanks to Frederic Junod for the patch.
     (closes: #753586)
+  * Support new vendorarch path for Perl modules.
+    Thanks to Niko Tyni for the patch.
+    (closes: #752715)
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sat, 05 Jul 2014 15:57:20 +0200
 
diff --git a/debian/libmapscript-perl.install b/debian/libmapscript-perl.install
old mode 100644
new mode 100755
index 1312331..096948f
--- a/debian/libmapscript-perl.install
+++ b/debian/libmapscript-perl.install
@@ -1 +1,7 @@
-usr/lib/perl5/
+#!/usr/bin/perl -w
+
+use Config;
+
+# Expand the perl binary module directory at build time
+print substr($Config{vendorarch}, 1) . "\n";
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapserver.git



More information about the Pkg-grass-devel mailing list