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

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

Unmerged revisions

16. By Peter Pearse

Use multiarch paths when 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 2010-10-05 20:41:08 +0000
3+++ debian/changelog 2011-04-07 14:00:23 +0000
4@@ -1,3 +1,9 @@
5+postgresql-8.4 (8.4.5-1-ubuntu1) natty; urgency=low
6+
7+ * Use multiarch paths when cross building
8+
9+ -- Peter Pearse <peter.pearse@linaro.org> Thu, 07 Apr 2011 12:51:58 +0000
10+
11 postgresql-8.4 (8.4.5-1) unstable; urgency=medium
12
13 * Urgency medium, since this fixes a security bug (but also a lot of other
14
15=== modified file 'debian/rules'
16--- debian/rules 2010-07-19 23:29:03 +0000
17+++ debian/rules 2011-04-07 14:00:23 +0000
18@@ -9,6 +9,10 @@
19 LDFLAGS+= -Wl,--as-needed
20 CFLAGS+= -fPIC
21
22+ifeq (yes,$(cdbs_crossbuild))
23+ LDFLAGS += -L/usr/$(DEB_HOST_GNU_TYPE)/lib -L/usr/$(DEB_HOST_GNU_TYPE)/lib/mit-krb5
24+endif
25+
26 ifneq ($(findstring $(DEB_BUILD_ARCH), sparc alpha),)
27 # sparc and alpha's gcc currently miscompiles; see
28 # http://lists.debian.org/debian-alpha/2007/11/msg00025.html
29@@ -53,6 +57,26 @@
30 CFLAGS='$(CFLAGS)' \
31 LDFLAGS='$(LDFLAGS)'
32
33+ifeq (,$(cdbs_crossbuild))
34+ DEB_CONFIGURE_EXTRA_FLAGS += \
35+ --with-tclconfig=/usr/lib/tcl$(TCL_VER) \
36+ --with-tkconfig=/usr/lib/tk$(TCL_VER) \
37+ --with-includes=/usr/include/tcl$(TCL_VER) \
38+ --with-system-tzdata=/usr/share/zoneinfo
39+
40+else
41+ # Note we use the host zoneinfo
42+ DEB_CONFIGURE_EXTRA_FLAGS += \
43+ --with-tclconfig=/usr/$(DEB_HOST_GNU_TYPE)/lib/tcl$(TCL_VER) \
44+ --with-tkconfig=/usr/$(DEB_HOST_GNU_TYPE)/lib/tk$(TCL_VER) \
45+ --with-includes=/usr/$(DEB_HOST_GNU_TYPE)/include/tcl$(TCL_VER) \
46+ --with-system-tzdata=/usr/share/zoneinfo
47+
48+ LDFLAGS += -L/usr/$(DEB_HOST_GNU_TYPE)/lib PMP003
49+endif
50+
51+
52+
53 DEB_DH_MAKESHLIBS_ARGS := -Xusr/lib/postgresql/$(MAJOR_VER)
54 # disabled for CVS builds
55 #DEB_DH_INSTALLCHANGELOGS_ARGS := HISTORY

Subscribers

People subscribed via source and target branches

to all changes: