From 0748e70bfa05e906d2dd77fe72b023d73d426e59 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 07 May 2008 08:52:19 +0000 Subject: Strip hardcoded rpath. --- (limited to 'debian') diff --git a/debian/control b/debian/control index f6f01e6..5376024 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: python Priority: optional Maintainer: Debian OLPC Uploaders: Jonas Smedegaard -Build-Depends: autotools-dev, devscripts (>= 2.10.7), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), debhelper (>= 5), dh-buildinfo, xulrunner-dev (>= 1.9~b5-4~), python-xpcom (>= 1.9~b5-4~), python-gtk2-dev +Build-Depends: autotools-dev, devscripts (>= 2.10.7), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), debhelper (>= 5), dh-buildinfo, xulrunner-dev (>= 1.9~b5-4~), python-xpcom (>= 1.9~b5-4~), python-gtk2-dev, chrpath Standards-Version: 3.7.3 Vcs-Git: git://git.debian.org/git/collab-maint/sugar-hulahop.git Vcs-Browser: http://git.debian.org/?p=collab-maint/sugar-hulahop.git;a=summary diff --git a/debian/rules b/debian/rules index 7e0735e..b7ba291 100755 --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,10 @@ autoreconf:: post-patches:: chmod a+x py-compile +# Strip hardcoded rpath +binary-strip/$(pkg):: + find $(DEB_DESTDIR)/usr/lib -type f -name '*.so' -exec chrpath -d '{}' ';' + ifneq (,$(findstring init,$(DEB_BUILD_OPTIONS))) DEB_PHONY_RULES += autogen autogen: autoreconf debian/stamp-autotools-files clean @@ -58,6 +62,9 @@ CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e 's/\bautomak # Needed by upstream build process CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), xulrunner-dev (>= 1.9~b5-4~), python-xpcom (>= 1.9~b5-4~), python-gtk2-dev +# Needed for our packaging +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), chrpath + # Merge duplicate build-dependencies CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.27-1)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//') -- cgit v0.9.1