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

Proposed by Peter Pearse
Status: Needs review
Proposed branch: lp:~peter-pearse/ubuntu/natty/xml2/prop001
Merge into: lp:ubuntu/natty/xml2
Diff against target: 49 lines (+15/-9)
2 files modified
debian/changelog (+6/-0)
debian/rules (+9/-9)
To merge this branch: bzr merge lp:~peter-pearse/ubuntu/natty/xml2/prop001
Reviewer Review Type Date Requested Status
Steve Langasek Pending
Review via email: mp+56959@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

6. By Peter Pearse

Fix for cross building.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2009-12-03 11:09:31 +0000
3+++ debian/changelog 2011-04-08 14:44:27 +0000
4@@ -1,3 +1,9 @@
5+xml2 (0.4-3ubuntu1) natty; urgency=low
6+
7+ * Fix for cross building
8+
9+ -- Peter Pearse <peter.pearse@linaro.org> Fri, 08 Apr 2011 08:54:08 +0000
10+
11 xml2 (0.4-3) unstable; urgency=low
12
13 * Updated maintainer email address
14
15=== modified file 'debian/rules'
16--- debian/rules 2009-12-03 11:09:31 +0000
17+++ debian/rules 2011-04-08 14:44:27 +0000
18@@ -13,7 +13,8 @@
19 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
20 CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)
21 else
22- CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
23+ CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
24+ CONFFLAGS += XML_CFLAGS=-I/usr/$(DEB_HOST_GNU_TYPE)/include/libxml2 XML_LIBS="-L/usr/$(DEB_HOST_GNU_TYPE)/lib/libxml2 -lxml2"
25 endif
26
27 CFLAGS = -Wall -g
28@@ -30,14 +31,13 @@
29 configure: $(QUILT_STAMPFN)
30 dh_testdir
31 autoreconf -vif
32- dh_auto_configure
33-# ./configure $(CONFFLAGS) \
34-# --prefix=/usr \
35-# --mandir=\$${prefix}/share/man \
36-# --infodir=\$${prefix}/share/info \
37-# CFLAGS="$(CFLAGS)" \
38-# LDFLAGS="-Wl,-z,defs"
39-# touch $@
40+ dh_auto_configure \
41+ -- $(CONFFLAGS)
42+ --prefix=/usr \
43+ --mandir=\$${prefix}/share/man \
44+ --infodir=\$${prefix}/share/info \
45+ CFLAGS="$(CFLAGS)" \
46+ LDFLAGS="-Wl,-z,defs"
47
48 build: configure
49 dh $@

Subscribers

People subscribed via source and target branches

to all changes: