[freeorion] 01/01: Install libs into Multiarch directories due to Ubuntu CMAKE delta.

Markus Koschany apo at moszumanska.debian.org
Thu Oct 6 18:06:56 UTC 2016


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

apo pushed a commit to branch trusty-ppa
in repository freeorion.

commit 43ff0b513fbda9f1df7bf5434d2678db19179c75
Author: Markus Koschany <apo at debian.org>
Date:   Thu Oct 6 18:36:21 2016 +0200

    Install libs into Multiarch directories due to Ubuntu CMAKE delta.
---
 debian/changelog         | 6 ++++--
 debian/freeorion.install | 2 +-
 debian/rules             | 3 ++-
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c42c884..68e63ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
-freeorion (0.4.6-1~ppa1~trusty2) trusty; urgency=medium
+freeorion (0.4.6-1~ppa1~trusty3) trusty; urgency=medium
 
-  * No change rebuild for Trusty.
+  * Rebuild for Trusty.
+  * Use compat level 9.
+  * Install libs into Multiarch directories due to Ubuntu CMAKE delta.
 
  -- Markus Koschany <apo at debian.org>  Thu, 06 Oct 2016 15:24:37 +0200
 
diff --git a/debian/freeorion.install b/debian/freeorion.install
index fe7f9eb..a6bb981 100644
--- a/debian/freeorion.install
+++ b/debian/freeorion.install
@@ -1,4 +1,4 @@
 debian/bin/*                                usr/games
 usr/bin/*                                   usr/lib/freeorion
-usr/lib/freeorion
+usr/lib/*/freeorion/*
 usr/share/applications
diff --git a/debian/rules b/debian/rules
index 4c64f8b..8d87591 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 #export DH_VERBOSE=1
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 WEAK_HOSTS := armel armhf
 
 ifneq (,$(findstring $(DEB_HOST_ARCH),$(WEAK_HOSTS)))
@@ -29,7 +30,7 @@ override_dh_auto_build-indep:
 
 #workaround for 'dpkg-shlibdeps: error: couldn't find library libGiGi*.so'
 override_dh_shlibdeps:
-	LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/usr/lib/freeorion/freeorion:$(LD_LIBRARY_PATH)" dh_shlibdeps
+	LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/freeorion:$(LD_LIBRARY_PATH)" dh_shlibdeps
 
 override_dh_installchangelogs:
 	dh_installchangelogs ChangeLog.md

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



More information about the Pkg-games-commits mailing list