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 B46D11384B4 for ; Sat, 19 Dec 2015 17:15:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 730DB21C0C5; Sat, 19 Dec 2015 17:15:06 +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 179A221C0AB for ; Sat, 19 Dec 2015 17:15:05 +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 DF79633E142 for ; Sat, 19 Dec 2015 17:15:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57869CEB for ; Sat, 19 Dec 2015 17:15:00 +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: <1450545035.e76e424631447234a00ab1d0b559e3abea3ea28d.swegener@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/sdcc/sdcc-9999.ebuild X-VCS-Directories: dev-embedded/sdcc/ X-VCS-Committer: swegener X-VCS-Committer-Name: Sven Wegener X-VCS-Revision: e76e424631447234a00ab1d0b559e3abea3ea28d X-VCS-Branch: master Date: Sat, 19 Dec 2015 17:15: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: 4fdd16f0-4cdb-45fb-9af3-4a4e2cca0413 X-Archives-Hash: 6044dd977b3d6c20f0386a3e852cba39 commit: e76e424631447234a00ab1d0b559e3abea3ea28d Author: Sven Wegener gentoo org> AuthorDate: Sat Dec 19 02:11:30 2015 +0000 Commit: Sven Wegener gentoo org> CommitDate: Sat Dec 19 17:10:35 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e76e4246 dev-embedded/sdcc: Copy current release ebuild to live ebuild Signed-off-by: Sven Wegener gentoo.org> dev-embedded/sdcc/sdcc-9999.ebuild | 47 ++++++++++++++++++++++++++++---------- 1 file changed, 35 insertions(+), 12 deletions(-) diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild index c0f1553..6091311 100644 --- a/dev-embedded/sdcc/sdcc-9999.ebuild +++ b/dev-embedded/sdcc/sdcc-9999.ebuild @@ -20,9 +20,20 @@ fi DESCRIPTION="Small device C compiler (for various microprocessors)" HOMEPAGE="http://sdcc.sourceforge.net/" -LICENSE="GPL-2" +LICENSE="GPL-2 ZLIB + non-free? ( MicroChip-SDCC ) + packihx? ( public-domain )" SLOT="0" -IUSE="+boehm-gc doc" +IUSE="mcs51 z80 z180 r2k r3ka gbz80 tlcs90 ds390 ds400 pic14 pic16 hc08 s08 stm8 +ucsim device-lib packihx +sdcpp sdcdb sdbinutils non-free +boehm-gc doc" + +REQUIRED_USE=" + mcs51? ( sdbinutils ) + ds390? ( sdbinutils ) + ds400? ( sdbinutils ) + hc08? ( sdbinutils ) + s08? ( sdbinutils )" + RESTRICT="strip" RDEPEND="dev-libs/boost:= @@ -41,12 +52,10 @@ if docs_compile ; then )" fi -S=${WORKDIR}/${PN} - src_prepare() { # Fix conflicting variable names between Gentoo and sdcc find \ - '(' -name 'Makefile*.in' -o -name configure ')' \ + '(' -name 'Makefile*.in' -o -name 'configure' ')' \ -exec sed -r -i \ -e 's:\<(PORTDIR|ARCH)\>:SDCC\1:g' \ {} + || die @@ -57,15 +66,8 @@ src_prepare() { -e "/^AR =/s:=.*:=$(tc-getAR):" \ support/cpp/Makefile.in || die - # We'll install doc manually - sed -i -e '/SDCC_DOC/d' Makefile.in || die - sed -i -e 's/ doc//' sim/ucsim/packages_in.mk || die - # Make sure timestamps don't get messed up. [[ ${PV} == "9999" ]] && find "${S}" -type f -exec touch -r . {} + - - # workaround parallel build issues with lyx - mkdir -p "${HOME}"/.lyx } src_configure() { @@ -77,6 +79,27 @@ src_configure() { ac_cv_prog_AR="$(tc-getAR)" \ --docdir="${EPREFIX}/usr/share/doc/${PF}" \ --without-ccache \ + $(use_enable mcs51 mcs51-port) \ + $(use_enable z80 z80-port) \ + $(use_enable z180 z180-port) \ + $(use_enable r2k r2k-port) \ + $(use_enable r3ka r3ka-port) \ + $(use_enable gbz80 gbz80-port) \ + $(use_enable tlcs90 tlcs90-port) \ + $(use_enable ds390 ds390-port) \ + $(use_enable ds400 ds400-port) \ + $(use_enable pic14 pic14-port) \ + $(use_enable pic16 pic16-port) \ + $(use_enable hc08 hc08-port) \ + $(use_enable s08 s08-port) \ + $(use_enable stm8 stm8-port) \ + $(use_enable ucsim ucsim) \ + $(use_enable device-lib device-lib) \ + $(use_enable packihx packihx) \ + $(use_enable sdcpp sdcpp) \ + $(use_enable sdcdb sdcdb) \ + $(use_enable sdbinutils sdbinutils) \ + $(use_enable non-free non-free) \ $(use_enable boehm-gc libgc) \ $(docs_compile && use_enable doc || echo --disable-doc) }