diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2002-05-28 04:57:17 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2002-05-28 04:57:17 +0000 |
commit | fca698db9545c78d7c40f3e4ad4cfa4a6bf46272 (patch) | |
tree | 85a8032aec5666cbb0b3d17a571d09af545a7b17 /net-www/htdig | |
parent | -Wno-deprecated in CPPFLAGS to support gcc3.1 --masked until someone (diff) | |
download | historical-fca698db9545c78d7c40f3e4ad4cfa4a6bf46272.tar.gz historical-fca698db9545c78d7c40f3e4ad4cfa4a6bf46272.tar.bz2 historical-fca698db9545c78d7c40f3e4ad4cfa4a6bf46272.zip |
Added -Wno-deprecate to CPPFLAGS to support gcc3.1
Diffstat (limited to 'net-www/htdig')
-rw-r--r-- | net-www/htdig/ChangeLog | 11 | ||||
-rw-r--r-- | net-www/htdig/files/digest-htdig-3.1.6-r4 | 1 | ||||
-rw-r--r-- | net-www/htdig/htdig-3.1.6-r4.ebuild | 66 |
3 files changed, 77 insertions, 1 deletions
diff --git a/net-www/htdig/ChangeLog b/net-www/htdig/ChangeLog index 36ad7bfb1031..6121f17ba36b 100644 --- a/net-www/htdig/ChangeLog +++ b/net-www/htdig/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-www/htdig # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-www/htdig/ChangeLog,v 1.7 2002/05/22 22:51:14 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/htdig/ChangeLog,v 1.8 2002/05/28 04:57:17 mkennedy Exp $ + +*htdig-3.1.6-r4 (27 May 2002) + + 27 May 2002; Matthew Kennedy <mkennedy@gentoo.org> + htdig-3.1.6-r4.ebuild, files/digest-htdig-3.1.6-r4, ChangeLog : + + Adds -Wno-deprecated to CPPFLAGS to allow compilation under + gcc3.1. Resolves bug #3091, thanks to lars.pechan@paradise.net.nz + (Lars Pechan). *htdig-3.1.6-r3 (22 May 2002) diff --git a/net-www/htdig/files/digest-htdig-3.1.6-r4 b/net-www/htdig/files/digest-htdig-3.1.6-r4 new file mode 100644 index 000000000000..a44fa14c97b5 --- /dev/null +++ b/net-www/htdig/files/digest-htdig-3.1.6-r4 @@ -0,0 +1 @@ +MD5 7a2f20d8d6149efd8d119bb2ebf55f23 htdig-3.1.6.tar.gz 2068675 diff --git a/net-www/htdig/htdig-3.1.6-r4.ebuild b/net-www/htdig/htdig-3.1.6-r4.ebuild new file mode 100644 index 000000000000..fa07d7ea4d31 --- /dev/null +++ b/net-www/htdig/htdig-3.1.6-r4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-www/htdig/htdig-3.1.6-r4.ebuild,v 1.1 2002/05/28 04:57:17 mkennedy Exp ${PN}/${PN}-3.1.5-r2.ebuild,v 1.2 2002/03/15 12:10:18 danarmak Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="HTTP/HTML indexing and searching system" +SRC_URI="http://www.htdig.org/files/${P}.tar.gz" +HOMEPAGE="http://www.htdig.org" + +DEPEND=">=sys-libs/zlib-1.1.3 + app-arch/unzip" + +export CPPFLAGS="${CPPFLAGS} -Wno-deprecated" + +src_compile() { + + cd ${S} + ./configure \ + --prefix=/usr \ + --with-config-dir=/etc/${PN} \ + --with-cgi-bin-dir=/home/httpd/cgi-bin \ + --with-common-dir=/usr/share/${PN} \ + --with-database-dir=/var/${PN}/db \ + --with-image-dir=/home/httpd/htdocs/${PN} \ + --with-default-config-file=/etc/${PN}/${PN}.conf \ + || die + + emake || die + +} + +src_install () { + + make \ + DESTDIR=${D} \ + CONFIG_DIR=${D}/etc/${PN} \ + SEARCH_DIR=${D}/home/httpd/htdocs/${PN} \ + CGIBIN_DIR=${D}/home/httpd/cgi-bin \ + COMMON_DIR=${D}/usr/share/${PN} \ + DATABASE_DIR=${D}/var/${PN}/db \ + IMAGE_DIR=${D}/home/httpd/htdocs/${PN} \ + DEFAULT_CONFIG_FILE=${D}/etc/${PN}/${PN}.conf \ + exec_prefix=${D}/usr \ + install || die + + dodoc ChangeLog COPYING README + dohtml -r htdoc + + insinto /etc/conf.d + doins installdir/htdig.conf + + dosed /etc/htdig/htdig.conf + dosed /usr/bin/rundig + + touch ${D}/var/htdig/db/word2root.db + touch ${D}/var/htdig/db/root2word.db + +} + +pkg_postinst() { + + einfo "Generating initial database" + rundig + +} |