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 56D201387FD for ; Sun, 6 Apr 2014 20:06:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2553E0AD8; Sun, 6 Apr 2014 20:06:36 +0000 (UTC) Received: from qmta07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by pigeon.gentoo.org (Postfix) with ESMTP id A8455E0A87 for ; Sun, 6 Apr 2014 20:06:35 +0000 (UTC) Received: from omta04.westchester.pa.mail.comcast.net ([76.96.62.35]) by qmta07.westchester.pa.mail.comcast.net with comcast id mk0F1n0040ldTLk57k6b1H; Sun, 06 Apr 2014 20:06:35 +0000 Received: from [192.168.1.13] ([50.190.84.14]) by omta04.westchester.pa.mail.comcast.net with comcast id mk6a1n0120JZ7Re01k6bky; Sun, 06 Apr 2014 20:06:35 +0000 Message-ID: <5341B3CA.3060408@gentoo.org> Date: Sun, 06 Apr 2014 16:06:34 -0400 From: Joshua Kinard User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] virtual/sctp to choose the right SCTP lib for Linux/FreeBSD? References: <53409E77.90707@gentoo.org> <21313.5394.955075.507483@a1i15.kph.uni-mainz.de> In-Reply-To: <21313.5394.955075.507483@a1i15.kph.uni-mainz.de> X-Enigmail-Version: 1.6 Content-Type: multipart/mixed; boundary="------------060608090706030103070602" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1396814795; bh=M+lTnu3knD6qKmgq7BXB9ZVrVBXGJUl20Xp0tzqE2hs=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=sZpkNVjIljyZHALTVXlLeT6xPaI2+XjczBctdfyj5v/Yxv/QQ2lxEDsinhGtqFmNn YlUU/lBl11wpECguKkicVaLkg/OK8QzFblb5IF+ylCaC7DgfVr/cersEyH/0kAeoMM WCu5E5ilzarT+fQv+6dvYZnfZgndtBhEE3+CiNzY6+dRaOgDRdEGu7n/vDidGB2r0M wKJYnx53QkDnlMYrDCNYWYaAMsyLTfBBoYZAOQvx+Nto3v1fRSdZNv2eivNFgCwCoN UAnLhEz5w0ouov+u1vmGjMMgCWE5Fp1Bwp4qPi79Ule2IQ4MhFxfztfrDfxGlGmYkA 0BwF7uEayCyqQ== X-Archives-Salt: b4a70466-e00c-46ce-a56a-99f4c1b2406d X-Archives-Hash: d26dde94a8952279f62ce0e52a713a30 This is a multi-part message in MIME format. --------------060608090706030103070602 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 04/06/2014 04:49, Ulrich Mueller wrote: >>>>>> On Sat, 05 Apr 2014, Joshua Kinard wrote: > >> I've attached a first draft of virtual/sctp/sctp-0.ebuild, which >> passes repoman checks, but I think it needs to be made >> multilib-aware. Additionally, that means lksctp-tools probably needs >> some multilib-magic applied. I am not finding a solid guide on >> properly upgrading an ebuild to become multilib-aware. Can one of >> the multilib experts check things and let me know what is needed if >> people agree this is a good way to go down? > > This doesn't answer your multilib question, but I believe that > kernel_* is not needed in IUSE: > >> IUSE="kernel_linux kernel_FreeBSD static-libs" > > KERNEL is both in USE_EXPAND and USE_EXPAND_IMPLICIT of > profiles/base/make.defaults, therefore it's implicit in EAPI 5. Thanks, I removed those and IUSE as well, since it's empty. > I'd also omit all empty variable assignments (like HOMEPAGE=""), > they are no longer necessary. I derived this ebuild from virtual/udev's (as the leftover comment implied). Someone might want to remove the empty vars there as well. Perhaps repoman should check for empty vars like HOMEPAGE/SRC_URI/IUSE and flag as a warning? -- Joshua Kinard Gentoo/MIPS kumba@gentoo.org 4096R/D25D95E3 2011-03-28 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic --------------060608090706030103070602 Content-Type: text/plain; charset=windows-1252; name="sctp-0.ebuild" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="sctp-0.ebuild" # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 DESCRIPTION="Virtual to select net-misc/lksctp-tools or sys-freebsd/freebsd-lib for userland SCTP lib support" SLOT="0" KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" RDEPEND="|| ( kernel_linux? ( net-misc/lksctp-tools ) kernel_FreeBSD? ( sys-freebsd/freebsd-lib ) )" --------------060608090706030103070602--