diff dev-db/postgresql-base/postgresql-base-8.4.1.ebuild @ 160:7ce3014adf4b

sync postgres ebuilds with Gentoo bug#276125, fixes misc. bugs
author holger
date Wed, 09 Sep 2009 19:04:40 +0200
parents 9014d136897e
children
line wrap: on
line diff
--- a/dev-db/postgresql-base/postgresql-base-8.4.1.ebuild	Wed Sep 09 17:22:48 2009 +0200
+++ b/dev-db/postgresql-base/postgresql-base-8.4.1.ebuild	Wed Sep 09 19:04:40 2009 +0200
@@ -68,11 +68,10 @@
 src_compile() {
 	econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \
 		--datadir=/usr/share/postgresql-${SLOT} \
+		--docdir=/usr/share/doc/postgresql-${SLOT} \
 		--sysconfdir=/etc/postgresql-${SLOT} \
 		--includedir=/usr/include/postgresql-${SLOT} \
-		--with-locale-dir=/usr/share/postgresql-${SLOT}/locale \
 		--mandir=/usr/share/postgresql-${SLOT}/man \
-		--without-docdir \
 		--enable-depend \
 		--without-tcl \
 		--without-perl \
@@ -104,6 +103,7 @@
 	dodir /usr/share/postgresql-${SLOT}/man/man1
 	tar -zxf "${S}/doc/man.tar.gz" -C "${D}"/usr/share/postgresql-${SLOT}/man man1/{ecpg,pg_config}.1
 
+	rm -r "${D}/usr/share/doc/postgresql-${SLOT}/html"
 	rm "${D}/usr/share/postgresql-${SLOT}/man/man1"/{initdb,ipcclean,pg_controldata,pg_ctl,pg_resetxlog,pg_restore,postgres,postmaster}.1
 	dodoc README HISTORY doc/{README.*,TODO,bug.template}