summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-04 22:34:47 +0000
committerMike Frysinger <vapier@gentoo.org>2015-03-04 22:34:47 +0000
commitdc70cf6431318269732d3d5b8b3b85ac43455d09 (patch)
tree12ad5fd9a50284521e45362fc6587ef8d090e66e /sys-devel
parentStabilize for all. (diff)
downloadgentoo-2-dc70cf6431318269732d3d5b8b3b85ac43455d09.tar.gz
gentoo-2-dc70cf6431318269732d3d5b8b3b85ac43455d09.tar.bz2
gentoo-2-dc70cf6431318269732d3d5b8b3b85ac43455d09.zip
Version bump.
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gnuconfig/ChangeLog9
-rw-r--r--sys-devel/gnuconfig/files/99999999/0002-Add-x32-support-to-config.guess.patch8
-rw-r--r--sys-devel/gnuconfig/files/99999999/0002-add-ps2-targets-to-config.sub.patch16
-rw-r--r--sys-devel/gnuconfig/gnuconfig-20150304.ebuild66
4 files changed, 86 insertions, 13 deletions
diff --git a/sys-devel/gnuconfig/ChangeLog b/sys-devel/gnuconfig/ChangeLog
index 8bd3c6db600b..fe13eddc74a6 100644
--- a/sys-devel/gnuconfig/ChangeLog
+++ b/sys-devel/gnuconfig/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-devel/gnuconfig
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/ChangeLog,v 1.84 2015/03/04 22:34:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/ChangeLog,v 1.85 2015/03/04 22:34:47 vapier Exp $
+
+*gnuconfig-20150304 (04 Mar 2015)
+
+ 04 Mar 2015; Mike Frysinger <vapier@gentoo.org> +gnuconfig-20150304.ebuild,
+ files/99999999/0002-Add-x32-support-to-config.guess.patch,
+ files/99999999/0002-add-ps2-targets-to-config.sub.patch:
+ Version bump.
04 Mar 2015; Mike Frysinger <vapier@gentoo.org> gnuconfig-20140728.ebuild:
Stabilize for all.
diff --git a/sys-devel/gnuconfig/files/99999999/0002-Add-x32-support-to-config.guess.patch b/sys-devel/gnuconfig/files/99999999/0002-Add-x32-support-to-config.guess.patch
index 0e085f70ef85..733acf3f946b 100644
--- a/sys-devel/gnuconfig/files/99999999/0002-Add-x32-support-to-config.guess.patch
+++ b/sys-devel/gnuconfig/files/99999999/0002-Add-x32-support-to-config.guess.patch
@@ -1,4 +1,4 @@
-From c5e163ea6346538d9f5c6c111fd865e92eeb491d Mon Sep 17 00:00:00 2001
+From 7d2e4a41de6d7c231bb10dba6940533c756f3c89 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hongjiu.lu@intel.com>
Date: Fri, 20 Dec 2013 14:36:01 -0500
Subject: [PATCH] Add x32 support to config.guess
@@ -16,10 +16,10 @@ URL: http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01083.html
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/config.guess b/config.guess
-index 9afd676..8b26ecf 100755
+index f7eb141..8a5d3f4 100755
--- a/config.guess
+++ b/config.guess
-@@ -1020,7 +1020,18 @@ EOF
+@@ -1038,7 +1038,18 @@ EOF
echo ${UNAME_MACHINE}-dec-linux-${LIBC}
exit ;;
x86_64:Linux:*:*)
@@ -40,5 +40,5 @@ index 9afd676..8b26ecf 100755
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
--
-1.8.4.3
+2.3.1
diff --git a/sys-devel/gnuconfig/files/99999999/0002-add-ps2-targets-to-config.sub.patch b/sys-devel/gnuconfig/files/99999999/0002-add-ps2-targets-to-config.sub.patch
index 3b124379ab83..88e43cd8ac2b 100644
--- a/sys-devel/gnuconfig/files/99999999/0002-add-ps2-targets-to-config.sub.patch
+++ b/sys-devel/gnuconfig/files/99999999/0002-add-ps2-targets-to-config.sub.patch
@@ -1,4 +1,4 @@
-From dc0922f791c29fc16340de97b0318e7573d57a32 Mon Sep 17 00:00:00 2001
+From 582f9caf95b3ccf36e6248be3b5b414546b0a03e Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Thu, 9 Oct 2008 15:51:35 -0400
Subject: [PATCH] add ps2 targets to config.sub
@@ -8,7 +8,7 @@ Subject: [PATCH] add ps2 targets to config.sub
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/config.sub b/config.sub
-index 61cb4bc..4ffb084 100755
+index 88307c1..7ee2b4c 100755
--- a/config.sub
+++ b/config.sub
@@ -258,7 +258,7 @@ case $basic_machine in
@@ -17,10 +17,10 @@ index 61cb4bc..4ffb084 100755
| c4x | c8051 | clipper \
- | d10v | d30v | dlx | dsp16xx \
+ | d10v | d30v | dlx | dsp16xx | dvp \
- | epiphany \
- | fido | fr30 | frv \
+ | e2k | epiphany \
+ | fido | fr30 | frv | ft32 \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
-@@ -810,6 +810,24 @@ case $basic_machine in
+@@ -823,6 +823,24 @@ case $basic_machine in
basic_machine=m68k-atari
os=-mint
;;
@@ -45,8 +45,8 @@ index 61cb4bc..4ffb084 100755
mips3*-*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
;;
-@@ -1372,7 +1390,7 @@ case $os in
- | -uxpv* | -beos* | -mpeix* | -udk* \
+@@ -1389,7 +1407,7 @@ case $os in
+ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
- | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
@@ -55,5 +55,5 @@ index 61cb4bc..4ffb084 100755
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
--
-1.8.4.3
+2.3.1
diff --git a/sys-devel/gnuconfig/gnuconfig-20150304.ebuild b/sys-devel/gnuconfig/gnuconfig-20150304.ebuild
new file mode 100644
index 000000000000..787fad1182a7
--- /dev/null
+++ b/sys-devel/gnuconfig/gnuconfig-20150304.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20150304.ebuild,v 1.1 2015/03/04 22:34:47 vapier Exp $
+
+EAPI="2"
+
+inherit eutils
+if [[ ${PV} == "99999999" ]] ; then
+ EGIT_REPO_URI="git://git.savannah.gnu.org/config.git
+ http://git.savannah.gnu.org/r/config.git"
+
+ inherit git-2
+else
+ SRC_URI="mirror://gentoo/${P}.tar.bz2"
+ 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 ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="Updated config.sub and config.guess file from GNU"
+HOMEPAGE="http://savannah.gnu.org/projects/config"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+S=${WORKDIR}
+
+maint_pkg_create() {
+ cd "${S}"
+
+ local ver=$(gawk '{ gsub(/-/, "", $1); print $1; exit }' ChangeLog)
+ [[ ${#ver} != 8 ]] && die "invalid version '${ver}'"
+
+ cp "${FILESDIR}"/${PV}/*.patch . || die
+
+ local tar="${T}/gnuconfig-${ver}.tar.bz2"
+ tar -jcf ${tar} ./* || die "creating tar failed"
+ einfo "Packaged tar now available:"
+ einfo "$(du -b ${tar})"
+}
+
+src_unpack() {
+ if [[ ${PV} == "99999999" ]] ; then
+ git-2_src_unpack
+ maint_pkg_create
+ else
+ unpack ${A}
+ fi
+}
+
+src_prepare() {
+ epatch "${WORKDIR}"/*.patch
+ use elibc_uclibc && sed -i 's:linux-gnu:linux-uclibc:' testsuite/config-guess.data #180637
+}
+
+src_compile() { :;}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins config.{sub,guess} || die
+ fperms +x /usr/share/${PN}/config.{sub,guess}
+ dodoc ChangeLog
+}