Merge lp:~peter-pearse/ubuntu/natty/libgcrypt11/prop001 into lp:ubuntu/natty/libgcrypt11

Proposed by Peter Pearse
Status: Needs review
Proposed branch: lp:~peter-pearse/ubuntu/natty/libgcrypt11/prop001
Merge into: lp:ubuntu/natty/libgcrypt11
Diff against target: 60 lines (+27/-1)
2 files modified
debian/changelog (+6/-0)
debian/rules (+21/-1)
To merge this branch: bzr merge lp:~peter-pearse/ubuntu/natty/libgcrypt11/prop001
Reviewer Review Type Date Requested Status
Steve Langasek Pending
Review via email: mp+56604@code.launchpad.net

Description of the change

Needs to find libgpg-error using gpg-error-config mechanism

To post a comment you must log in.

Unmerged revisions

30. By Peter Pearse

Adjust gpg-error paths for crossing.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-03-22 19:45:07 +0000
+++ debian/changelog 2011-04-06 16:11:33 +0000
@@ -1,3 +1,9 @@
1libgcrypt11 (1.4.6-4ubuntu3) natty; urgency=low
2
3 * Adjust gpg-error paths for crossing
4
5 -- Peter Pearse <peter.pearse@linaro.org> Wed, 06 Apr 2011 16:04:37 +0000
6
1libgcrypt11 (1.4.6-4ubuntu2) natty; urgency=low7libgcrypt11 (1.4.6-4ubuntu2) natty; urgency=low
28
3 * Move libgcrypt.so into /usr/lib/$(DEB_HOST_MULTIARCH) where it belongs.9 * Move libgcrypt.so into /usr/lib/$(DEB_HOST_MULTIARCH) where it belongs.
410
=== modified file 'debian/rules'
--- debian/rules 2011-03-22 19:42:11 +0000
+++ debian/rules 2011-04-06 16:11:33 +0000
@@ -1,6 +1,21 @@
1#! /usr/bin/make -f1#! /usr/bin/make -f
2# Build the libgcrypt package for Debian.2# Build the libgcrypt package for Debian.
33
4DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
5DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
6
7ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
8
9 here = $(shell pwd)
10
11common-configure-impl::
12 @echo "Set up cross gpg-error-config before configure is called"
13 mkdir -p $(here)/bin
14 sed 's/\/lib\/.*linux-gnu/\/lib\/$(DEB_HOST_GNU_TYPE)/' /usr/bin/gpg-error-config > $(here)/bin/gpg-error-config
15 chmod a+x $(here)/bin/gpg-error-config
16 -ln -s /usr/$(DEB_HOST_GNU_TYPE)/lib/libgpg-error.so $(here)/libgpg-error.so
17
18endif
419
5include /usr/share/cdbs/1/rules/debhelper.mk20include /usr/share/cdbs/1/rules/debhelper.mk
6include /usr/share/cdbs/1/class/autotools.mk21include /usr/share/cdbs/1/class/autotools.mk
@@ -8,7 +23,9 @@
8DEB_CONFIGURE_EXTRA_FLAGS := --enable-noexecstack \23DEB_CONFIGURE_EXTRA_FLAGS := --enable-noexecstack \
9 --enable-ld-version-script --libdir=/lib/$(DEB_HOST_MULTIARCH)24 --enable-ld-version-script --libdir=/lib/$(DEB_HOST_MULTIARCH)
10ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))25ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
11DEB_MAKE_CHECK_TARGET = check26 DEB_MAKE_CHECK_TARGET = check
27else
28 DEB_CONFIGURE_EXTRA_FLAGS += --with-gpg-error-prefix=$(here)
12endif29endif
1330
14DEB_DH_STRIP_ARGS = --dbg-package=libgcrypt11-dbg31DEB_DH_STRIP_ARGS = --dbg-package=libgcrypt11-dbg
@@ -16,6 +33,9 @@
16 --add-udeb=libgcrypt11-udeb33 --add-udeb=libgcrypt11-udeb
1734
18clean::35clean::
36ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
37 if [ -d ./bin ] ; then rm-fr ./bin ; fi
38endif
19 if test -f ltmain.sh ; then touch ltmain.sh; else libtoolize -c -f --automake; fi39 if test -f ltmain.sh ; then touch ltmain.sh; else libtoolize -c -f --automake; fi
20 if test -f aclocal.m4 ; then touch aclocal.m4; else aclocal-1.9 -I m4 ; fi40 if test -f aclocal.m4 ; then touch aclocal.m4; else aclocal-1.9 -I m4 ; fi
21 if test -f config.h.in ; then touch config.h.in; else autoheader2.50; fi41 if test -f config.h.in ; then touch config.h.in; else autoheader2.50; fi

Subscribers

People subscribed via source and target branches

to all changes: