summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2014-11-28 09:52:31 +0000
committerSergey Popov <pinkbyte@gentoo.org>2014-11-28 09:52:31 +0000
commit98ebd7c05bb465ccc3ff203a0e970f710e99dc0d (patch)
treecdedc8e3ecfa3ab49b2f1d684392ed358e579b15 /app-emulation
parentclean old python impl (diff)
downloadgentoo-2-98ebd7c05bb465ccc3ff203a0e970f710e99dc0d.tar.gz
gentoo-2-98ebd7c05bb465ccc3ff203a0e970f710e99dc0d.tar.bz2
gentoo-2-98ebd7c05bb465ccc3ff203a0e970f710e99dc0d.zip
Revision bump: add use flag for building without IPv6 support, drop redundant function definitions. Drop old revision
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/dynamips/ChangeLog9
-rw-r--r--app-emulation/dynamips/dynamips-0.2.14-r1.ebuild (renamed from app-emulation/dynamips/dynamips-0.2.14.ebuild)28
2 files changed, 23 insertions, 14 deletions
diff --git a/app-emulation/dynamips/ChangeLog b/app-emulation/dynamips/ChangeLog
index bd787c546a66..62a607dd5376 100644
--- a/app-emulation/dynamips/ChangeLog
+++ b/app-emulation/dynamips/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emulation/dynamips
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/dynamips/ChangeLog,v 1.16 2014/11/28 07:01:11 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/dynamips/ChangeLog,v 1.17 2014/11/28 09:52:31 pinkbyte Exp $
+
+*dynamips-0.2.14-r1 (28 Nov 2014)
+
+ 28 Nov 2014; Sergey Popov <pinkbyte@gentoo.org> -dynamips-0.2.14.ebuild,
+ +dynamips-0.2.14-r1.ebuild:
+ Revision bump: add use flag for building without IPv6 support, drop redundant
+ function definitions. Drop old revision
*dynamips-0.2.14 (28 Nov 2014)
diff --git a/app-emulation/dynamips/dynamips-0.2.14.ebuild b/app-emulation/dynamips/dynamips-0.2.14-r1.ebuild
index ac555c4c960b..2fa16e53b08f 100644
--- a/app-emulation/dynamips/dynamips-0.2.14.ebuild
+++ b/app-emulation/dynamips/dynamips-0.2.14-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/dynamips/dynamips-0.2.14.ebuild,v 1.1 2014/11/28 07:01:11 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/dynamips/dynamips-0.2.14-r1.ebuild,v 1.1 2014/11/28 09:52:31 pinkbyte Exp $
EAPI=5
-inherit cmake-utils eutils
+inherit cmake-utils
DESCRIPTION="Cisco 7200/3600 Simulator"
HOMEPAGE="http://www.gns3.net/dynamips/"
@@ -14,27 +14,29 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="app-arch/unzip
- dev-libs/elfutils
+IUSE="ipv6"
+
+RDEPEND="dev-libs/elfutils
net-libs/libpcap"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
DOCS=( ChangeLog README RELEASE-NOTES )
S="${WORKDIR}"
+PATCHES=( "${FILESDIR}/${PV}-docs.patch" )
+
src_prepare() {
- # patch CMakeLists to remove install_docs and use Portage instead
- epatch "${FILESDIR}"/${PV}-docs.patch
+ # comment out DYNAMIPS_FLAGS to respect CFLAGS
+ sed -e "s:^set ( DYNAMIPS_FLAGS:#&:" -i cmake/dependencies.cmake || die
- # comment out DYNAMIPS_FLAGS to respect use set CFLAGS
- sed -e 's:^set ( DYNAMIPS_FLAGS:#&:' -i cmake/dependencies.cmake || die
+ cmake-utils_src_prepare
}
src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable ipv6 IPV6)
+ )
cmake-utils_src_configure
}
-
-src_install() {
- cmake-utils_src_install
-}