From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 99B501384B4 for ; Sat, 19 Dec 2015 16:01:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5812121C072; Sat, 19 Dec 2015 16:01:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8DF621C072 for ; Sat, 19 Dec 2015 16:01:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5724340753 for ; Sat, 19 Dec 2015 16:01:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6762FB05 for ; Sat, 19 Dec 2015 16:01:11 +0000 (UTC) From: "Sven Wegener" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Wegener" Message-ID: <1450540744.d8344da95467382d33df0c3aa727162f46b6e75b.swegener@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/libftdi/, dev-embedded/libftdi/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/libftdi/files/libftdi-0.20-cmake-include.patch dev-embedded/libftdi/libftdi-0.20.ebuild X-VCS-Directories: dev-embedded/libftdi/ dev-embedded/libftdi/files/ X-VCS-Committer: swegener X-VCS-Committer-Name: Sven Wegener X-VCS-Revision: d8344da95467382d33df0c3aa727162f46b6e75b X-VCS-Branch: master Date: Sat, 19 Dec 2015 16:01:11 +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: b2b81b51-eff1-4099-98cb-dd0ecffb54be X-Archives-Hash: 823aeccd364df61be1112c02dd004c07 commit: d8344da95467382d33df0c3aa727162f46b6e75b Author: Sven Wegener gentoo org> AuthorDate: Sat Dec 19 15:49:03 2015 +0000 Commit: Sven Wegener gentoo org> CommitDate: Sat Dec 19 15:59:04 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8344da9 dev-embedded/libftdi: Fix cmake build issue with USE=examples, bug #566856 Signed-off-by: Sven Wegener gentoo.org> .../libftdi/files/libftdi-0.20-cmake-include.patch | 22 ++++++++++++++++++++++ dev-embedded/libftdi/libftdi-0.20.ebuild | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/dev-embedded/libftdi/files/libftdi-0.20-cmake-include.patch b/dev-embedded/libftdi/files/libftdi-0.20-cmake-include.patch new file mode 100644 index 0000000..4faf7c6 --- /dev/null +++ b/dev-embedded/libftdi/files/libftdi-0.20-cmake-include.patch @@ -0,0 +1,22 @@ +From ccbd6cf1934056386772debba8583bc9b3721072 Mon Sep 17 00:00:00 2001 +From: Uffe Jakobsen +Date: Mon, 22 Oct 2012 12:03:22 +0200 +Subject: [PATCH] Fix build on FreeBSD (cmake file typo) + +--- + examples/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt +index 6793d89..1263c62 100644 +--- a/examples/CMakeLists.txt ++++ b/examples/CMakeLists.txt +@@ -2,7 +2,7 @@ option(EXAMPLES "Build example programs" ON) + + if (EXAMPLES) + # Includes +- include( ${CMAKE_CURRENT_SOURCE_DIR} ++ include_directories( ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ) + diff --git a/dev-embedded/libftdi/libftdi-0.20.ebuild b/dev-embedded/libftdi/libftdi-0.20.ebuild index a5804f3..acc14c0 100644 --- a/dev-embedded/libftdi/libftdi-0.20.ebuild +++ b/dev-embedded/libftdi/libftdi-0.20.ebuild @@ -4,7 +4,7 @@ EAPI="2" -inherit cmake-utils python +inherit cmake-utils python eutils if [[ ${PV} == 9999* ]] ; then EGIT_REPO_URI="git://developer.intra2net.com/${PN}" @@ -34,6 +34,8 @@ src_prepare() { sed -i \ -e '/SET(LIB_SUFFIX /d' \ CMakeLists.txt || die + + epatch "${FILESDIR}"/${P}-cmake-include.patch } src_configure() {