* [gentoo-commits] gentoo-x86 commit in sys-libs/newlib: newlib-1.19.0.ebuild ChangeLog
@ 2011-02-12 23:49 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-02-12 23:49 UTC (permalink / raw
To: gentoo-commits
vapier 11/02/12 23:49:27
Modified: ChangeLog
Added: newlib-1.19.0.ebuild
Log:
Version bump.
(Portage version: 2.2.0_alpha20/cvs/Linux x86_64)
Revision Changes Path
1.15 sys-libs/newlib/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/newlib/ChangeLog?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/newlib/ChangeLog?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/newlib/ChangeLog?r1=1.14&r2=1.15
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog 12 Feb 2011 23:49:01 -0000 1.14
+++ ChangeLog 12 Feb 2011 23:49:27 -0000 1.15
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/newlib
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.14 2011/02/12 23:49:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/ChangeLog,v 1.15 2011/02/12 23:49:27 vapier Exp $
+
+*newlib-1.19.0 (12 Feb 2011)
+
+ 12 Feb 2011; Mike Frysinger <vapier@gentoo.org> +newlib-1.19.0.ebuild:
+ Version bump.
12 Feb 2011; Mike Frysinger <vapier@gentoo.org> newlib-1.18.0.ebuild:
Do not allow newlib to install alongside glibc.
1.1 sys-libs/newlib/newlib-1.19.0.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/newlib/newlib-1.19.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/newlib/newlib-1.19.0.ebuild?rev=1.1&content-type=text/plain
Index: newlib-1.19.0.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/newlib/newlib-1.19.0.ebuild,v 1.1 2011/02/12 23:49:27 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
export CBUILD=${CBUILD:-${CHOST}}
export CTARGET=${CTARGET:-${CHOST}}
if [[ ${CTARGET} == ${CHOST} ]] ; then
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
export CTARGET=${CATEGORY/cross-}
fi
fi
DESCRIPTION="Newlib is a C library intended for use on embedded systems"
HOMEPAGE="http://sourceware.org/newlib/"
SRC_URI="ftp://sources.redhat.com/pub/newlib/${P}.tar.gz"
LICENSE="NEWLIB LIBGLOSS GPL-2"
[[ ${CTARGET} != ${CHOST} ]] \
&& SLOT="${CTARGET}" \
|| SLOT="0"
KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="nls threads unicode crosscompile_opts_headers-only"
RESTRICT="strip"
NEWLIBBUILD="${WORKDIR}/build"
pkg_setup() {
# Reject newlib-on-glibc type installs
if [[ ${CTARGET} == ${CHOST} ]] ; then
case ${CHOST} in
*-newlib|*-elf) ;;
*) die "Use sys-devel/crossdev to build a newlib toolchain" ;;
esac
fi
}
src_unpack() {
unpack ${A}
mkdir -p "${NEWLIBBUILD}"
}
src_compile() {
# we should fix this ...
unset LDFLAGS
CHOST=${CTARGET} strip-unsupported-flags
local myconf=""
# hardwired to avoid breakages
[[ $(tc-is-softfloat) != "no" ]] \
&& myconf="--disable-newlib-hw-fp" \
|| myconf="--enable-newlib-hw-fp"
[[ ${CTARGET} == "spu" ]] \
&& myconf="${myconf} --disable-newlib-multithread" \
|| myconf="${myconf} $(use_enable threads newlib-multithread)"
cd "${NEWLIBBUILD}"
ECONF_SOURCE=${S} \
econf \
$(use_enable unicode newlib-mb) \
$(use_enable nls) \
${myconf} \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
cd "${NEWLIBBUILD}"
emake -j1 DESTDIR="${D}" install || die
# env -uRESTRICT CHOST=${CTARGET} prepallstrip
# minor hack to keep things clean
rm -fR "${D}"/usr/share/info
rm -fR "${D}"/usr/info
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-12 23:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12 23:49 [gentoo-commits] gentoo-x86 commit in sys-libs/newlib: newlib-1.19.0.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