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 DE42413997D for ; Wed, 13 Nov 2019 01:37:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FA14E0837; Wed, 13 Nov 2019 01:37:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 ED4D6E0837 for ; Wed, 13 Nov 2019 01:37:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 D977E34CCDA for ; Wed, 13 Nov 2019 01:37:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E5C5824 for ; Wed, 13 Nov 2019 01:37:29 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1573608639.7b3f75df13b0af65da3468a26605a578be1aacbb.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/getopt/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/getopt/getopt-1.1.6.ebuild X-VCS-Directories: app-misc/getopt/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: 7b3f75df13b0af65da3468a26605a578be1aacbb X-VCS-Branch: master Date: Wed, 13 Nov 2019 01:37:29 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 05b35a05-0f9b-4431-bc4d-3e7bd40aa879 X-Archives-Hash: 05011155b0fc222723edea7c625d33bd commit: 7b3f75df13b0af65da3468a26605a578be1aacbb Author: Aaron Bauman gentoo org> AuthorDate: Wed Nov 13 01:30:39 2019 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Wed Nov 13 01:30:39 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3f75df app-misc/getopt: drop old EAPI Signed-off-by: Aaron Bauman gentoo.org> app-misc/getopt/getopt-1.1.6.ebuild | 64 ------------------------------------- 1 file changed, 64 deletions(-) diff --git a/app-misc/getopt/getopt-1.1.6.ebuild b/app-misc/getopt/getopt-1.1.6.ebuild deleted file mode 100644 index e153893915a..00000000000 --- a/app-misc/getopt/getopt-1.1.6.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit toolchain-funcs eutils - -DESCRIPTION="getopt(1) replacement supporting GNU-style long options" -HOMEPAGE="http://frodo.looijaard.name/project/getopt/" -SRC_URI="http://frodo.looijaard.name/system/files/software/getopt/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~ppc-aix ~x64-cygwin ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="nls" - -RDEPEND="nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.1.5-libintl.patch - epatch "${FILESDIR}"/${PN}-1.1.5-setlocale.patch - epatch "${FILESDIR}"/${PN}-1.1.6-longrename.patch - - # hopefully this is portable enough - epatch "${FILESDIR}"/${PN}-1.1.4-irix.patch -} - -src_compile() { - local nogettext="1" - local libintl="" - local libcgetopt=1 - - if use nls; then - nogettext=0 - has_version sys-libs/glibc || libintl="-lintl" - fi - - [[ ${CHOST} == *-aix* ]] && libcgetopt=0 - [[ ${CHOST} == *-irix* ]] && libcgetopt=0 - [[ ${CHOST} == *-interix* ]] && libcgetopt=0 - - emake CC="$(tc-getCC)" prefix="${EPREFIX}/usr" \ - LIBCGETOPT=${libcgetopt} \ - WITHOUT_GETTEXT=${nogettext} LIBINTL=${libintl} \ - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" -} - -src_install() { - use nls && emake prefix="${EPREFIX}/usr" DESTDIR="${D}" install_po - - newbin getopt getopt-long - - # at least on interix, the system getopt is ... broken... - # util-linux, which would provide the getopt binary, does not build & - # install on interix/prefix, so, this has to provide it. - [[ ${CHOST} == *-interix* || ${CHOST} == *-mint* ]] && \ - dosym getopt-long /usr/bin/getopt - - newman getopt.1 getopt-long.1 - - dodoc getopt-*sh -}