From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DDE281396D0 for ; Sun, 10 Sep 2017 21:04:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 245751FC067; Sun, 10 Sep 2017 21:04:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3AE11FC067 for ; Sun, 10 Sep 2017 21:04:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D97F3415B7 for ; Sun, 10 Sep 2017 21:04:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F34F68F50 for ; Sun, 10 Sep 2017 21:04:00 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1505077419.35955eb9f11cf884675ef4280cc64af6b4415cbe.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/yaml-cpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild X-VCS-Directories: dev-cpp/yaml-cpp/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: 35955eb9f11cf884675ef4280cc64af6b4415cbe X-VCS-Branch: master Date: Sun, 10 Sep 2017 21:04:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e8ffd76b-3a88-48ee-b54a-b299e092f259 X-Archives-Hash: af8a7d274a1faef421c99555dc92d081 commit: 35955eb9f11cf884675ef4280cc64af6b4415cbe Author: Matthew Thode gentoo org> AuthorDate: Sun Sep 10 21:03:39 2017 +0000 Commit: Matt Thode gentoo org> CommitDate: Sun Sep 10 21:03:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35955eb9 dev-cpp/yaml-cpp: yaml-cpp makes static links to boost bug 628360 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild new file mode 100644 index 00000000000..6bf29f127ca --- /dev/null +++ b/dev-cpp/yaml-cpp/yaml-cpp-0.5.3-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="YAML parser and emitter in C++" +HOMEPAGE="https://github.com/jbeder/yaml-cpp" +SRC_URI="https://github.com/jbeder/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=">=dev-libs/boost-1.49.0-r2:=" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-release-${PV}" + +PATCHES=( "${FILESDIR}"/${P}-gcc6.patch ) + +src_prepare() { + sed -i \ + -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \ + yaml-cpp.pc.cmake || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + ) + cmake-utils_src_configure +}