[Frugalware-git] frugalware-current: mingw-binutils-2.17.50_20070129_1-2-i686

Miklos Vajna vmiklos at frugalware.org
Thu Nov 15 15:12:35 CET 2007


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

commit f76b72cc3a8d2add24ff8b9e5e47155d032a5d7b
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Thu Nov 15 15:12:01 2007 +0100

mingw-binutils-2.17.50_20070129_1-2-i686
- add patch to make it work with newer texinfo
- original patch author: crazy

diff --git a/source/devel-extra/mingw-binutils/FrugalBuild b/source/devel-extra/mingw-binutils/FrugalBuild
index d17be2f..696095c 100644
--- a/source/devel-extra/mingw-binutils/FrugalBuild
+++ b/source/devel-extra/mingw-binutils/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=mingw-binutils
pkgver=2.17.50_20070129_1
origver=${pkgver//_/-}
-pkgrel=1
+pkgrel=2
pkgdesc="Tools necessary to build Win32 programs"
_F_sourceforge_dirname="mingw"
Finclude sourceforge
@@ -12,17 +12,18 @@ url="http://sources.redhat.com/binutils/"
depends=('bash')
groups=('devel-extra')
archs=('i686' 'x86_64')
-# recently they removed the 2.17.50_20070129_1 tarballs, while it works fine
-# for us, so why reverting..
-up2date="lynx -dump http://sourceforge.net/project/showfiles.php?group_id=2435|grep 'binutils-.*-src.tar.gz$'|sed 's/.*binutils-\(.*\)-src.*/\1/;s/-/_/g;s/2.17.50_20060824_1/2.17.50_20070129_1/;q'"
-source=(${source/mingw-binutils-$origver/binutils-$origver-src})
-sha1sums=('a55f2e1c2f9640f259d9a6de0d5e5c7620f6e94f')
+up2date="lynx -dump http://sourceforge.net/project/showfiles.php?group_id=2435|grep 'binutils-.*-src.tar.gz$'|sed 's/.*binutils-\(.*\)-src.*/\1/;s/-/_/g;q'"
+source=(${source/mingw-binutils-$origver/binutils-$origver-src} makeinfo.patch)
+sha1sums=('a55f2e1c2f9640f259d9a6de0d5e5c7620f6e94f' \
+          '467e9a8b972c97cea8862a4c8b49f18a72fceaa9')

build()
{
Fcd binutils-$origver-src
-	Fbuild --prefix=/usr/lib/mingw --target=i386-mingw32msvc
-	Frm /usr/{info,lib,share/locale}
+	Fpatchall
+	autoconf || return 1
+	Fmake --prefix=/usr/lib/mingw --target=i386-mingw32msvc
+	Fmakeinstall
}

# optimization OK
diff --git a/source/devel-extra/mingw-binutils/makeinfo.patch b/source/devel-extra/mingw-binutils/makeinfo.patch
new file mode 100644
index 0000000..17b3c53
--- /dev/null
+++ b/source/devel-extra/mingw-binutils/makeinfo.patch
@@ -0,0 +1,12 @@
+diff -Naur binutils-2.18.50.0.1/configure.in binutils-2.18.50.0.1-p/configure.in
+--- binutils-2.18.50.0.1/configure.in	2007-09-08 19:33:35.000000000 +0200
++++ binutils-2.18.50.0.1-p/configure.in	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