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 6DC4213881C for ; Thu, 24 Sep 2015 21:36:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC4BB21C0AE; Thu, 24 Sep 2015 21:36:42 +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 80FFA21C0AE for ; Thu, 24 Sep 2015 21:36:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60FF33408FB for ; Thu, 24 Sep 2015 21:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F44A1F5 for ; Thu, 24 Sep 2015 21:36:38 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1443130243.ac8db9f173bf3d3dbe9c8c699a7226a46e62b878.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/nano/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/nano/nano-2.4.2.ebuild X-VCS-Directories: app-editors/nano/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: ac8db9f173bf3d3dbe9c8c699a7226a46e62b878 X-VCS-Branch: master Date: Thu, 24 Sep 2015 21:36:38 +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: 24a19e35-c1ac-471c-b0be-08f8e57a575a X-Archives-Hash: d2815d027f6e2a678d45abfe8daf8a6b commit: ac8db9f173bf3d3dbe9c8c699a7226a46e62b878 Author: Mike Frysinger gentoo org> AuthorDate: Thu Sep 24 21:30:35 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Sep 24 21:30:43 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8db9f1 app-editors/nano: add USE=static support app-editors/nano/nano-2.4.2.ebuild | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app-editors/nano/nano-2.4.2.ebuild b/app-editors/nano/nano-2.4.2.ebuild index fa4b5d0..b18cbc7 100644 --- a/app-editors/nano/nano-2.4.2.ebuild +++ b/app-editors/nano/nano-2.4.2.ebuild @@ -4,7 +4,7 @@ EAPI="4" -inherit eutils +inherit eutils flag-o-matic if [[ ${PV} == "9999" ]] ; then ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano" inherit subversion autotools @@ -19,21 +19,25 @@ HOMEPAGE="http://www.nano-editor.org/ https://www.gentoo.org/doc/en/nano-basics- LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug justify +magic minimal ncurses nls slang +spell unicode" +IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode" -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?] - magic? ( sys-apps/file ) +LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0[unicode?] + sys-libs/ncurses:0[static-libs(+)] + magic? ( sys-apps/file[static-libs(+)] ) nls? ( virtual/libintl ) - !ncurses? ( slang? ( sys-libs/slang ) )" + !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )" +RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" DEPEND="${RDEPEND} nls? ( sys-devel/gettext ) - virtual/pkgconfig" + virtual/pkgconfig + static? ( ${LIB_DEPEND} )" src_prepare() { epatch_user } src_configure() { + use static && append-ldflags -static eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic) local myconf=() case ${CHOST} in