gdb stable port information

Package: gdb
Version: 7.4.1
Revision: 1
Maintainer: Jack Howarth
License: GPL3
Source: http://ftp.gnu.org/gnu/gdb/gdb-%v.tar.bz2
Source-MD5: 8854d34691087ec127d934692639855f
SourceDirectory: gdb-%v
Depends: python27, expat1-shlibs, libncurses5-shlibs, libiconv, libgettext8-shlibs, python27-shlibs
BuildDepends: expat1, gettext-tools, libgettext8-dev, python27, libncurses5, libiconv-dev, fink (>= 0.24.12)
SetLDFLAGS: -L%p/lib/python2.7/config
ConfigureParams: --program-prefix=fsf- --with-expat --with-python --disable-gdbtk --enable-tui --disable-werror python_prog_path=%p/bin/python2.7
SetCFLAGS: -O2 -g -Wno-unused-value
Architecture: x86_64, i386
DocFiles: COPYING COPYING3 README
InfoDocs: gdb.info gdbint.info
Homepage: http://www.gnu.org/software/gdb/
Description: The GNU Project Debugger
DescDetail: <<
GDB, the GNU Project debugger, allows you to see what is going on
`inside' another program while it executes -- or what another program
was doing at the moment it crashed.
<<
DescUsage: <<
The programs in this package are prefixed with fsf- (gdb is "fsf-gdb",
etc.) to avoid conflicting with Xcode's programs of the same name.
<<
CompileScript: <<
#!/bin/sh -ev
if [ "%m" = "i386" ]
then
./configure %c --enable-64-bit-bfd
else
./configure %c
fi
make
<<
InstallScript:<<
#!/bin/bash -ev
make install DESTDIR=%d
cd %i/share/info
rm annotate.info configure.info stabs.info standards.info bfd.info

# It seems likely that the libbfd, libopcodes, libiberty and their headers may
# also exist in some other packages
rm -rf %i/lib %i/include
<<
PostInstScript: <<
# Make the executables sgid procmod
chgrp procmod %p/bin/fsf-%n
chgrp procmod %p/bin/fsf-%ntui
chmod g+s %p/bin/fsf-%n
chmod g+s %p/bin/fsf-%ntui
<<
DescPort: <<
Add http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/darwin-nat.c.diff?cvsroot=src&r1=1.31&r2=1.32
as backport from gdb trunk to fix i386 build. Also added the required --enable-64-bit-bfd to
configure for the i386 build so it can also work with x86_64 binaries.
<<