summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/libpq/libpq-7.4.17.ebuild')
-rw-r--r--dev-db/libpq/libpq-7.4.17.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-db/libpq/libpq-7.4.17.ebuild b/dev-db/libpq/libpq-7.4.17.ebuild
index 7d2f229..9a259c1 100644
--- a/dev-db/libpq/libpq-7.4.17.ebuild
+++ b/dev-db/libpq/libpq-7.4.17.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/libpq/libpq-7.4.17.ebuild,v 1.9 2007/06/24 21:20:43 vapier Exp $
-inherit eutils gnuconfig flag-o-matic toolchain-funcs
+inherit eutils gnuconfig flag-o-matic toolchain-funcs autotools
DESCRIPTION="Libraries of postgresql"
HOMEPAGE="http://www.postgresql.org/"
@@ -42,6 +42,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gentoo.patch"
+ epatch "${FILESDIR}/${P}-autoconf.patch"
+ eautoconf
}
src_compile() {
@@ -60,10 +62,7 @@ src_compile() {
# Gerk - Nov 26, 2002
use ppc && CFLAGS="-pipe -fsigned-char"
- # Detect mips systems properly
- gnuconfig_update
-
- ./configure --prefix=/usr \
+ econf --prefix=/usr \
--include=/usr/include/postgresql/libpq-${SLOT} \
--mandir=/usr/share/man \
--host=${CHOST} \