[Frugalware-git] frugalware-current: binutils-2.18.50.0.1-1-i686

crazy crazy at frugalware.org
Tue Oct 2 12:46:56 CEST 2007


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=db5e3aff09b9cc9748017b66782c8cb35215730a

commit db5e3aff09b9cc9748017b66782c8cb35215730a
Author: crazy <crazy at frugalware.org>
Date:   Mon Oct 1 13:46:39 2007 +0200

binutils-2.18.50.0.1-1-i686
* Version bump
* readded static up2date for this one
* added an patch to fix newer makeinfo detection

diff --git a/source/devel/binutils/FrugalBuild b/source/devel/binutils/FrugalBuild
index 56ad666..58a4b14 100644
--- a/source/devel/binutils/FrugalBuild
+++ b/source/devel/binutils/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: VMiklos <vmiklos at frugalware.org>

pkgname=binutils
-pkgver=2.18
+pkgver=2.18.50.0.1
pkgrel=1
pkgdesc="A set of programs to assemble and manipulate binary and object files"
url="http://www.gnu.org/software/binutils/"
@@ -10,19 +10,25 @@ depends=('bash' 'glibc>=2.6-2')
groups=('devel' 'devel-core')
archs=('i686' 'x86_64' 'ppc')
# for now, we need a devel version to utilize glibc-2.6
-#up2date="lynx -dump 'http://ftp.gnu.org/gnu/$pkgname/?C=M;O=A'|grep '$pkgname-\(.*\).tar.bz2$'|sort -n -r|head -n1|Flasttarbz2|sed 's/2.17/2.17.50.0.18/'"
-Fup2gnubz2
-#source=(http://www2.kernel.org/pub/linux/devel/$pkgname/$pkgname-$pkgver.tar.bz2)
-source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2)
-signatures=($source.sig)
+up2date="lynx -dump 'http://ftp.gnu.org/gnu/$pkgname/?C=M;O=A'|grep '$pkgname-\(.*\).tar.bz2$'|sort -n -r|head -n1|Flasttarbz2|sed 's/2.18/2.18.50.0.1/'"
+#Fup2gnubz2
+source=(http://www2.kernel.org/pub/linux/devel/$pkgname/$pkgname-$pkgver.tar.bz2 makeinfo.patch)
+#source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2)
+#signatures=($source.sig)
+sha1sums=('4e28e9b2ab5f37162569a60a8a88db29bacf28fe' \
+          '27ad0ca88accd65eb47f910e111cc14504d9022b')

build()
{
-	Fbuild --enable-shared --disable-werror
+	Fcd
+	Fpatchall
+	autoconf || Fdie
+	Fmake --enable-shared --disable-werror
+	Fmakeinstall
if [ "$CARCH" == "x86_64" ]; then
-		cd libiberty
+		cd libiberty || Fdie
unset MAKEFLAGS
-		make clean
+		make clean || return 1
make CFLAGS="-g -fPIC $CFLAGS" || return 1
Ffilerel /usr/lib/libiberty.a
fi
diff --git a/source/devel/binutils/makeinfo.patch b/source/devel/binutils/makeinfo.patch
new file mode 100644
index 0000000..fbcf948
--- /dev/null
+++ b/source/devel/binutils/makeinfo.patch
@@ -0,0 +1,12 @@
+diff -Naur binutils-2.18.50.0.1/configure.ac binutils-2.18.50.0.1-p/configure.ac
+--- binutils-2.18.50.0.1/configure.ac	2007-09-08 19:33:35.000000000 +0200
++++ binutils-2.18.50.0.1-p/configure.ac	2007-10-01 11:48:52.000000000 +0200
+@@ -2424,7 +2424,7 @@
+     # For an installed makeinfo, we require it to be from texinfo 4.4 or
+     # higher, else we use the "missing" dummy.
+     if ${MAKEINFO} --version \
+-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
++       | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+       :
+     else
+       MAKEINFO="$MISSING makeinfo"


More information about the Frugalware-git mailing list