diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-12-17 17:06:43 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-12-17 17:07:08 +0100 |
commit | e56c78f34f5aecdc2a3825c95d56d3cda03fb2df (patch) | |
tree | 7bc15e113db1bd84586b375253887ec367169148 /net-analyzer/sarg/sarg-2.3.10-r1.ebuild | |
parent | dev-util/valkyrie: Drop old (diff) | |
download | gentoo-e56c78f34f5aecdc2a3825c95d56d3cda03fb2df.tar.gz gentoo-e56c78f34f5aecdc2a3825c95d56d3cda03fb2df.tar.bz2 gentoo-e56c78f34f5aecdc2a3825c95d56d3cda03fb2df.zip |
net-analyzer/sarg: Fix some GCC 7 strictness issues (bug #641250).
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-analyzer/sarg/sarg-2.3.10-r1.ebuild')
-rw-r--r-- | net-analyzer/sarg/sarg-2.3.10-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-analyzer/sarg/sarg-2.3.10-r1.ebuild b/net-analyzer/sarg/sarg-2.3.10-r1.ebuild new file mode 100644 index 000000000000..72e6e4dbb97f --- /dev/null +++ b/net-analyzer/sarg/sarg-2.3.10-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="Squid Analysis Report Generator" +HOMEPAGE="http://sarg.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="+gd ldap pcre" + +DEPEND=" + gd? ( media-libs/gd[png,truetype] ) + ldap? ( net-nds/openldap ) + pcre? ( dev-libs/libpcre ) +" +RDEPEND="${DEPEND}" + +DOCS=( BETA-TESTERS CONTRIBUTORS DONATIONS README ChangeLog htaccess ) +PATCHES=( + "${FILESDIR}"/${PN}-2.3.9-configure.patch + "${FILESDIR}"/${PN}-2.3.9-configure-bash.patch + "${FILESDIR}"/${PN}-2.3.10-format.patch + "${FILESDIR}"/${PN}-2.3.10-bool.patch + "${FILESDIR}"/${PN}-2.3.10-config.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf \ + $(use_with gd) \ + $(use_with ldap) \ + $(use_with pcre) \ + --sysconfdir="${EPREFIX}/etc/sarg/" +} |