Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/devel
In directory vz-cvs-3.sog:/tmp/cvs-serv14279

Modified Files:
        m681x-binutils.info mingw-binutils.info 
Log Message:
binutils: remove *.info files to avoid name clashes with other binutils 
packages.

Index: mingw-binutils.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/devel/mingw-binutils.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mingw-binutils.info 11 Jul 2011 04:05:40 -0000      1.1
+++ mingw-binutils.info 29 Jul 2011 08:43:08 -0000      1.2
@@ -1,6 +1,6 @@
 Package: mingw-binutils
 Version: 2.16.91-20050827-1
-Revision: 3
+Revision: 4
 Description: GNU binutils for MinGW
 License: LGPL
 Maintainer: None <fink-de...@lists.sourceforge.net>
@@ -10,6 +10,7 @@
 SourceDirectory: binutils-%v
 
 PatchScript: perl -pi -e 's,\|4.*9,|[4-9,' Makefile.in
+
 ConfigureParams: <<
   --target=i686-pc-mingw32 \
   --disable-nls \
@@ -25,15 +26,10 @@
   /usr/bin/make install DESTDIR=%d
   /bin/rm -vrf %i/lib/mingw/lib/
 
-  for file_name in %i/share/info/*
-  do
-    new_file_name=`/bin/echo ${file_name} | /usr/bin/sed -e 
"s|%i/share/info/|%i/share/info/i686-pc-mingw32-|g"`
-    mv ${file_name} ${new_file_name}
-  done
+  rm -rf %i/share/info
 <<
 
 DocFiles: COPYING* README
-InfoDocs: i686-pc-mingw32-as.info i686-pc-mingw32-bfd.info 
i686-pc-mingw32-binutils.info i686-pc-mingw32-configure.info 
i686-pc-mingw32-ld.info i686-pc-mingw32-standards.info
 
 Homepage: http://sources.redhat.com/binutils/
 DescPort: <<
@@ -42,8 +38,7 @@
 Like 'avr-binutils' package, lib & include folders have been moved to 
 /sw/lib/mingw and the binaries are put into /sw/bin .
 
-All xxx.info files renamed to i686-pc-mingw32-xxx.info to avoid clashes
-with other potential toolchains.
+All xxx.info files are removed to avoid clashes with other toolchains.
 
 Disable -Werror, to enable compilation on 10.6 (the code uses some
 depreacted APIs like stat64 and also triggers other warnings in newer

Index: m681x-binutils.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/devel/m681x-binutils.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- m681x-binutils.info 11 Jul 2011 04:05:40 -0000      1.1
+++ m681x-binutils.info 29 Jul 2011 08:43:08 -0000      1.2
@@ -1,6 +1,6 @@
 Package: m681x-binutils
 Version: 2.17
-Revision: 1
+Revision: 2
 Description: For Motorola 6811/12 microcontrollers
 Maintainer: Carl van Denzen <cvden...@users.sourceforge.net>
 BuildDepends: libgettext3-dev, gettext-tools (>=0.14.5-1)
@@ -13,7 +13,8 @@
 Source-MD5: e26e2e06b6e4bf3acf1dc8688a94c0d1
 DescPort: <<
 Avoided using /sw/m6811. Its lib & include folders have been moved to 
/sw/share/m6811 and the binaries are put into /sw/bin.
-All xxx.info and man files renamed to m6811-xxx.info and m6811-...1 to avoid 
clashes with other potential toolchains.
+All man files renamed to m6811-...1 to avoid clashes with other potential 
toolchains.
+All xxx.info removed to avoid clashes with other potential toolchains.
 <<
 DescPackaging: Disable -Werror to avoid complaints about stat64.  Suggested by 
Sean Mollet, nhts...@gmail.com
 CompileScript: <<
@@ -50,12 +51,10 @@
 BUILDDIR=build.${MACHINE}
 cd $BUILDDIR
 make install DESTDIR=%d
-#
-# Rename the files xxx.info into m6811-elf-xxx.info cq m6812-elf-xx.info to 
avoid name clashes with other binutils packages and these two packages (m6811 
and m6812)
-# The files of the m6811 should not be renamed, hence the inverted grep.
-#
-for i in $(/usr/bin/find -E %d -regex ".*/.*\.info(-[0-9]+)?" -print|grep 
--invert-match /${MACHINE%%%%?});do echo $i ${i%%/*} ${i##*/} ;mv $i 
${i%%/*}/$PROGRAM_PREFIX${i##*/};done
 done
+#
+# Remove the files xxx.info to avoid name clashes with other binutils packages 
and these two packages (m6811 and m6812)
+rm -rf %i/share/info
 <<
-DocFiles: README COPYING
-InfoDocs: m6811-elf-as.info m6811-elf-bfd.info m6811-elf-binutils.info 
m6811-elf-configure.info m6811-elf-ld.info m6811-elf-standards.info 
m6812-elf-as.info m6812-elf-bfd.info m6812-elf-binutils.info 
m6812-elf-configure.info m6812-elf-ld.info m6812-elf-standards.info
+DocFiles: README COPYING*
+


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to