summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2004-01-15 21:50:16 +0000
committerMax Kalika <max@gentoo.org>2004-01-15 21:50:16 +0000
commitc255a2fc21599e3795b89d443d86986ce93433a2 (patch)
tree91e56e90e21e83ba20be8e0ad6ef239dce48e771 /dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild
parentfix digest (diff)
downloadgentoo-2-c255a2fc21599e3795b89d443d86986ce93433a2.tar.gz
gentoo-2-c255a2fc21599e3795b89d443d86986ce93433a2.tar.bz2
gentoo-2-c255a2fc21599e3795b89d443d86986ce93433a2.zip
Fix compile with newer PostgreSQL versions. Use proper WANT_AUTOCONF syntax. Fixes bug #37227.
Diffstat (limited to 'dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild')
-rw-r--r--dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild
index 12a7a7f8db11..f4d9beb23a6f 100644
--- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild
+++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild,v 1.1 2004/01/14 19:42:47 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/cyrus-sasl-2.1.17.ebuild,v 1.2 2004/01/15 21:50:16 max Exp $
inherit eutils flag-o-matic
@@ -40,8 +40,11 @@ src_unpack() {
# Add configdir support.
epatch "${FILESDIR}/cyrus-sasl-2.1.17-configdir.patch"
+ # Fix include path for newer PostgreSQL versions.
+ epatch "${FILESDIR}/cyrus-sasl-2.1.17-pgsql-include.patch"
+
# Recreate configure.
- export WANT_AUTOCONF_2_5=1
+ export WANT_AUTOCONF="2.5"
rm -f configure config.h.in saslauthd/configure
ebegin "Recreating configure"
aclocal -I cmulocal -I config && autoheader && autoconf || \
@@ -77,7 +80,7 @@ src_compile() {
myconf="${myconf} --with-dblib=berkeley"
fi
- # compaq-sdk checks for -D_REENTRANT and -pthread takes care the cpp stuff.
+ # Compaq-sdk checks for -D_REENTRANT and -pthread takes care the cpp stuff.
# taviso #24998 (17 Aug 03)
use alpha && append-flags -D_REENTRANT -pthread
@@ -89,7 +92,8 @@ src_compile() {
--with-dbpath=/etc/sasl2/sasldb2 \
${myconf}
- emake || die "compile problem"
+ # Parallel build doesn't work.
+ emake -j1 || die "compile problem"
}
src_install () {