* [gentoo-commits] gentoo-x86 commit in app-misc/getopt: getopt-1.1.6.ebuild ChangeLog
@ 2015-02-16 5:47 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2015-02-16 5:47 UTC (permalink / raw
To: gentoo-commits
vapier 15/02/16 05:47:15
Modified: ChangeLog
Added: getopt-1.1.6.ebuild
Log:
Version bump.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path
1.12 app-misc/getopt/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/getopt/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/getopt/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/getopt/ChangeLog?r1=1.11&r2=1.12
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/getopt/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog 10 Jul 2014 12:18:05 -0000 1.11
+++ ChangeLog 16 Feb 2015 05:47:15 -0000 1.12
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/getopt
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/ChangeLog,v 1.11 2014/07/10 12:18:05 haubi Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/ChangeLog,v 1.12 2015/02/16 05:47:15 vapier Exp $
+
+*getopt-1.1.6 (16 Feb 2015)
+
+ 16 Feb 2015; Mike Frysinger <vapier@gentoo.org>
+ +files/getopt-1.1.6-longrename.patch, +getopt-1.1.6.ebuild:
+ Version bump.
10 Jul 2014; Michael Haubenwallner <haubi@gentoo.org> getopt-1.1.5.ebuild:
add ~ppc-aix keyword
1.1 app-misc/getopt/getopt-1.1.6.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/getopt/getopt-1.1.6.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/getopt/getopt-1.1.6.ebuild?rev=1.1&content-type=text/plain
Index: getopt-1.1.6.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/getopt/getopt-1.1.6.ebuild,v 1.1 2015/02/16 05:47:15 vapier Exp $
EAPI=4
inherit toolchain-funcs eutils
DESCRIPTION="getopt(1) replacement supporting GNU-style long options"
HOMEPAGE="http://software.frodo.looijaard.name/getopt/"
SRC_URI="http://frodo.looijaard.name/system/files/software/getopt/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-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} == *-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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-16 5:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16 5:47 [gentoo-commits] gentoo-x86 commit in app-misc/getopt: getopt-1.1.6.ebuild ChangeLog Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox