summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2004-01-17 15:08:27 +0000
committerMasatomo Nakano <nakano@gentoo.org>2004-01-17 15:08:27 +0000
commite38a4cffc1ab2b6f86493546386f278293a1f6d8 (patch)
tree2eb7bc91824a64086075caf813c3e753eeb6f5cf /dev-db/pgadmin3/pgadmin3-1.0.2.ebuild
parent Version bumped. (diff)
downloadgentoo-2-e38a4cffc1ab2b6f86493546386f278293a1f6d8.tar.gz
gentoo-2-e38a4cffc1ab2b6f86493546386f278293a1f6d8.tar.bz2
gentoo-2-e38a4cffc1ab2b6f86493546386f278293a1f6d8.zip
Fixed PostgreSQL library error. Closed #37803.
Diffstat (limited to 'dev-db/pgadmin3/pgadmin3-1.0.2.ebuild')
-rw-r--r--dev-db/pgadmin3/pgadmin3-1.0.2.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-db/pgadmin3/pgadmin3-1.0.2.ebuild b/dev-db/pgadmin3/pgadmin3-1.0.2.ebuild
index bf58d9cc8574..95c687ece379 100644
--- a/dev-db/pgadmin3/pgadmin3-1.0.2.ebuild
+++ b/dev-db/pgadmin3/pgadmin3-1.0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.0.2.ebuild,v 1.2 2003/12/29 04:53:57 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.0.2.ebuild,v 1.3 2004/01/17 15:08:27 nakano Exp $
IUSE=""
@@ -15,10 +15,10 @@ KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
# Need 2.4.1-r1 for the extras in contrib
DEPEND=">=x11-libs/wxGTK-2.4.1-r1
- dev-db/postgresql"
+ || ( >=dev-db/postgresql-7.3.5-r1 >=dev-db/postgresql-7.4.1-r2 )"
src_compile() {
- econf || die
+ LDFLAGS=-L/usr/lib/postgresql econf --with-pgsql-include=/usr/include/postgresql || die
cd ${S}/src
sed -i -e "s:^\(LIBS\).*:\1 = -lssl -lcrypto -lpq -lwx_gtk2-2.4 -lwx_gtk2_xrc-2.4 -lwx_gtk2_stc-2.4:" Makefile