summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/postgresql-server/postgresql-server-9999.ebuild')
-rw-r--r--dev-db/postgresql-server/postgresql-server-9999.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-db/postgresql-server/postgresql-server-9999.ebuild b/dev-db/postgresql-server/postgresql-server-9999.ebuild
index 818126a1e2f5..bdd94172d7e2 100644
--- a/dev-db/postgresql-server/postgresql-server-9999.ebuild
+++ b/dev-db/postgresql-server/postgresql-server-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9999.ebuild,v 1.9 2013/07/24 08:45:58 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/postgresql-server-9999.ebuild,v 1.10 2013/07/25 04:08:54 patrick Exp $
EAPI="5"
@@ -16,7 +16,7 @@ SLOT="9.4"
EGIT_REPO_URI="git://git.postgresql.org/git/postgresql.git"
SRC_URI="http://dev.gentoo.org/~titanofold/postgresql-initscript-2.4.tbz2
- http://dev.gentoo.org/~titanofold/postgresql-patches-9.2beta2.tbz2"
+ http://dev.gentoo.org/~titanofold/postgresql-patches-9.3-r1.tbz2"
# Comment the following six lines when not a beta or rc.
#MY_PV="${PV//_}"
@@ -78,6 +78,9 @@ pkg_setup() {
}
src_prepare() {
+ # silly version changes
+ sed -i -e 's/2012/2013/' -e 's/9.3beta2/9.4devel/' "${WORKDIR}/autoconf.patch" || die
+
epatch "${WORKDIR}/autoconf.patch" \
"${WORKDIR}/bool.patch" \
"${WORKDIR}/server.patch"
@@ -165,6 +168,8 @@ src_install() {
keepdir /run/postgresql
fperms 0770 /run/postgresql
fi
+ # collides with -base, might be unneeded even in base?
+ rm "${D}/usr/$(get_libdir)/postgresql-${SLOT}/$(get_libdir)/libpgcommon.a"
}
pkg_postinst() {