summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Brewer <tomboy64@sina.cn>2016-06-01 16:17:58 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-06-02 17:30:15 +0000
commit81bd9b337df2276fd266ea33b61c470d1ee8082b (patch)
tree0ada859e8d1310009eb073ecf6052ecc322d06ef /net-analyzer
parentnet-misc/bro: revbump bro-2.4.1-r2 (diff)
downloadgentoo-81bd9b337df2276fd266ea33b61c470d1ee8082b.tar.gz
gentoo-81bd9b337df2276fd266ea33b61c470d1ee8082b.tar.bz2
gentoo-81bd9b337df2276fd266ea33b61c470d1ee8082b.zip
=net-analyzer/bro-2.4.1-r2: replace src_configure() with PATCHES
Package-Manager: portage-2.3.0_rc1 Closes: https://github.com/gentoo/gentoo/pull/1567 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/bro/bro-2.4.1-r2.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/net-analyzer/bro/bro-2.4.1-r2.ebuild b/net-analyzer/bro/bro-2.4.1-r2.ebuild
index 9fd84031a678..543aecc54031 100644
--- a/net-analyzer/bro/bro-2.4.1-r2.ebuild
+++ b/net-analyzer/bro/bro-2.4.1-r2.ebuild
@@ -11,7 +11,6 @@ inherit cmake-utils python-single-r1
DESCRIPTION="The Bro Network Security Monitor"
HOMEPAGE="https://www.bro.org"
SRC_URI="https://www.bro.org/downloads/release/${P}.tar.gz"
-
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -39,17 +38,13 @@ DEPEND="${RDEPEND}
REQUIRED_USE="broker? ( python )
broctl? ( python )
python? ( ${PYTHON_REQUIRED_USE} )"
+PATCHES=( "${FILESDIR}/bro-2.4.1-remove-unnecessary-remove.patch"
+ "${FILESDIR}/bro-2.4.1-fix-python-install-dir.patch" )
pkg_setup() {
use python && python-single-r1_pkg_setup
}
-src_prepare() {
- eapply "${FILESDIR}/bro-2.4.1-remove-unnecessary-remove.patch"
- eapply "${FILESDIR}/bro-2.4.1-fix-python-install-dir.patch"
- eapply_user
-}
-
src_configure() {
local mycmakeargs=(
-DENABLE_DEBUG=$(usex debug true false)