summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-08-26 13:49:05 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-08-26 13:49:05 +0000
commit457d2f675b5bb5ae59a37b81b60ea95ecd1179a0 (patch)
tree596092c5f357b92954fde9181ee3949d65bc2719 /dev-db
parentversion bump (diff)
downloadgentoo-2-457d2f675b5bb5ae59a37b81b60ea95ecd1179a0.tar.gz
gentoo-2-457d2f675b5bb5ae59a37b81b60ea95ecd1179a0.tar.bz2
gentoo-2-457d2f675b5bb5ae59a37b81b60ea95ecd1179a0.zip
More small fixes.
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql/ChangeLog5
-rw-r--r--dev-db/postgresql/postgresql-7.2.2.ebuild10
2 files changed, 11 insertions, 4 deletions
diff --git a/dev-db/postgresql/ChangeLog b/dev-db/postgresql/ChangeLog
index d15e95aa4fd5..15a4d3194c89 100644
--- a/dev-db/postgresql/ChangeLog
+++ b/dev-db/postgresql/ChangeLog
@@ -1,10 +1,13 @@
# ChangeLog for dev-db/postgresql
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.27 2002/08/26 10:15:04 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.28 2002/08/26 13:49:05 aliz Exp $
*postgresql-7.2.2 (26 Aug 2002)
26 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> postgresql-7.2.2.ebuild:
+ Moved message to postinst. Fixed .jar file installation.
+
+ 26 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> postgresql-7.2.2.ebuild:
Small cleanups and fixes.
26 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> postgresql-7.2.2.ebuild:
diff --git a/dev-db/postgresql/postgresql-7.2.2.ebuild b/dev-db/postgresql/postgresql-7.2.2.ebuild
index 9f21be5f828e..96b28ec05b7d 100644
--- a/dev-db/postgresql/postgresql-7.2.2.ebuild
+++ b/dev-db/postgresql/postgresql-7.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.2.ebuild,v 1.3 2002/08/26 10:15:04 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-7.2.2.ebuild,v 1.4 2002/08/26 13:49:05 aliz Exp $
S=${WORKDIR}/${P}
DESCRIPTION="PostgreSQL is a sophisticated Object-Relational DBMS"
@@ -118,15 +118,19 @@ src_install () {
rm -rf ${D}/usr/doc ${D}/mnt
exeinto /usr/bin
- dojar ${D}/usr/share/postgresql/java/postgresql.jar
- rm ${D}/usr/share/postgresql/java/postgresql.jar
+ if [ `use java` ]; then
+ dojar ${D}/usr/share/postgresql/java/postgresql.jar
+ rm ${D}/usr/share/postgresql/java/postgresql.jar
+ fi
dodir /usr/include/postgresql/pgsql
cp ${D}/usr/include/*.h ${D}/usr/include/postgresql/pgsql
exeinto /etc/init.d/
doexe ${FILESDIR}/${PV}/${PN}
+}
+pkg_postinst() {
einfo ">>> Execute the following command"
einfo ">>> ebuild /var/db/pkg/dev-db/${P}/${P}.ebuild config"
einfo ">>> to setup the initial database environment."