summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-07-30 19:54:11 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-07-30 19:54:49 +0200
commit4c62053868f357caaa8e54672b40c06859f948f8 (patch)
tree2b77ca42da5b4070a47f37728db7cf2b49b84605
parentdev-ruby/protected_attributes: cleanup (diff)
downloadgentoo-4c62053868f357caaa8e54672b40c06859f948f8.tar.gz
gentoo-4c62053868f357caaa8e54672b40c06859f948f8.tar.bz2
gentoo-4c62053868f357caaa8e54672b40c06859f948f8.zip
mail-filter/razor: force number of jobs to 1.
The -j1 option is now passed to emake. Gentoo-Bug: https://bugs.gentoo.org/615658 Package-Manager: Portage-2.3.6, Repoman-2.3.1
-rw-r--r--mail-filter/razor/razor-2.85-r2.ebuild25
1 files changed, 14 insertions, 11 deletions
diff --git a/mail-filter/razor/razor-2.85-r2.ebuild b/mail-filter/razor/razor-2.85-r2.ebuild
index 0804ba5b4a29..6a4adfd6319d 100644
--- a/mail-filter/razor/razor-2.85-r2.ebuild
+++ b/mail-filter/razor/razor-2.85-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -7,35 +7,38 @@ inherit perl-module
MY_PN="razor-agents"
MY_P="${MY_PN}-${PV}"
-DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network"
+
+DESCRIPTION="Distributed, collaborative spam detection and filtering network"
HOMEPAGE="http://razor.sourceforge.net/"
SRC_URI="mirror://sourceforge/razor/${MY_P}.tar.bz2"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
-# This package warrants IUSE doc
-IUSE=""
-
-DEPEND=""
-RDEPEND="dev-perl/Net-DNS
+RDEPEND="
+ dev-perl/URI
+ dev-perl/Net-DNS
virtual/perl-Net-Ping
virtual/perl-Time-HiRes
- || ( virtual/perl-Digest-SHA dev-perl/Digest-SHA1 )
- dev-perl/URI
- dev-perl/Digest-Nilsimsa"
+ dev-perl/Digest-Nilsimsa
+ || ( virtual/perl-Digest-SHA dev-perl/Digest-SHA1 )"
PATCHES=(
"${FILESDIR}/${PN}-2.85-use-sha-not-sha1.patch"
"${FILESDIR}/${PN}-2.85-cosmetic-pv-fix.patch"
- )
+)
S=${WORKDIR}/${MY_P}
+
# Install docs/ content
mydoc="docs/*"
SRC_TEST="do parallel"
+src_compile() {
+ emake -j1
+}
+
pkg_postinst() {
elog
elog "Run 'razor-admin -create' to create a default config file in your"