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
=== modified file 'debian/changelog'
--- debian/changelog 2010-10-05 20:41:08 +0000
+++ debian/changelog 2011-04-07 14:00:23 +0000
@@ -1,3 +1,9 @@
1postgresql-8.4 (8.4.5-1-ubuntu1) natty; urgency=low
2
3 * Use multiarch paths when cross building
4
5 -- Peter Pearse <peter.pearse@linaro.org> Thu, 07 Apr 2011 12:51:58 +0000
6
1postgresql-8.4 (8.4.5-1) unstable; urgency=medium7postgresql-8.4 (8.4.5-1) unstable; urgency=medium
28
3 * Urgency medium, since this fixes a security bug (but also a lot of other9 * Urgency medium, since this fixes a security bug (but also a lot of other
410
=== modified file 'debian/rules'
--- debian/rules 2010-07-19 23:29:03 +0000
+++ debian/rules 2011-04-07 14:00:23 +0000
@@ -9,6 +9,10 @@
9LDFLAGS+= -Wl,--as-needed9LDFLAGS+= -Wl,--as-needed
10CFLAGS+= -fPIC10CFLAGS+= -fPIC
1111
12ifeq (yes,$(cdbs_crossbuild))
13 LDFLAGS += -L/usr/$(DEB_HOST_GNU_TYPE)/lib -L/usr/$(DEB_HOST_GNU_TYPE)/lib/mit-krb5
14endif
15
12ifneq ($(findstring $(DEB_BUILD_ARCH), sparc alpha),)16ifneq ($(findstring $(DEB_BUILD_ARCH), sparc alpha),)
13# sparc and alpha's gcc currently miscompiles; see17# sparc and alpha's gcc currently miscompiles; see
14# http://lists.debian.org/debian-alpha/2007/11/msg00025.html18# http://lists.debian.org/debian-alpha/2007/11/msg00025.html
@@ -53,6 +57,26 @@
53 CFLAGS='$(CFLAGS)' \57 CFLAGS='$(CFLAGS)' \
54 LDFLAGS='$(LDFLAGS)'58 LDFLAGS='$(LDFLAGS)'
5559
60ifeq (,$(cdbs_crossbuild))
61 DEB_CONFIGURE_EXTRA_FLAGS += \
62 --with-tclconfig=/usr/lib/tcl$(TCL_VER) \
63 --with-tkconfig=/usr/lib/tk$(TCL_VER) \
64 --with-includes=/usr/include/tcl$(TCL_VER) \
65 --with-system-tzdata=/usr/share/zoneinfo
66
67else
68 # Note we use the host zoneinfo
69 DEB_CONFIGURE_EXTRA_FLAGS += \
70 --with-tclconfig=/usr/$(DEB_HOST_GNU_TYPE)/lib/tcl$(TCL_VER) \
71 --with-tkconfig=/usr/$(DEB_HOST_GNU_TYPE)/lib/tk$(TCL_VER) \
72 --with-includes=/usr/$(DEB_HOST_GNU_TYPE)/include/tcl$(TCL_VER) \
73 --with-system-tzdata=/usr/share/zoneinfo
74
75 LDFLAGS += -L/usr/$(DEB_HOST_GNU_TYPE)/lib PMP003
76endif
77
78
79
56DEB_DH_MAKESHLIBS_ARGS := -Xusr/lib/postgresql/$(MAJOR_VER)80DEB_DH_MAKESHLIBS_ARGS := -Xusr/lib/postgresql/$(MAJOR_VER)
57# disabled for CVS builds81# disabled for CVS builds
58#DEB_DH_INSTALLCHANGELOGS_ARGS := HISTORY82#DEB_DH_INSTALLCHANGELOGS_ARGS := HISTORY

Subscribers

People subscribed via source and target branches

to all changes: