Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/devel
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv28110

Modified Files:
        apple-gdb.info 
Log Message:
build against readline6 and switch from Distribution 10.9 to 
BuildDepends/Depends on xcode (>= 4.7) to limit to systems without gdb

Index: apple-gdb.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/devel/apple-gdb.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- apple-gdb.info      6 Jul 2013 10:41:29 -0000       1.2
+++ apple-gdb.info      6 Jul 2013 14:59:45 -0000       1.3
@@ -1,6 +1,6 @@
 Package: apple-gdb
 Version: 1822
-Revision: 1
+Revision: 2
 Maintainer: Jack Howarth <howa...@bromo.med.uc.edu>
 License: GPL2
 Source: http://opensource.apple.com/tarballs/gdb/gdb-%v.tar.gz
@@ -9,9 +9,8 @@
 SetCFLAGS: -O2 -g -I%p/include
 Conflicts: gdb (<= 7.6-1)
 Replaces: gdb (<= 7.6-1)
-Distribution: 10.9
-Depends: libgettext8-shlibs, libncurses5-shlibs, sqlite3-shlibs
-BuildDepends: flex, gettext-tools, libgettext8-dev, libncurses5, sqlite3-dev, 
texinfo-legacy, fink-package-precedence, fink (>= 0.24.12)
+Depends: libgettext8-shlibs, libncurses5-shlibs, readline6-shlibs, 
sqlite3-shlibs, xcode (>= 4.7)
+BuildDepends: flex, gettext-tools, libgettext8-dev, libncurses5, readline6, 
sqlite3-dev, texinfo-legacy, xcode (>= 4.7), fink (>= 0.24.12)
 ConfigureParams: --disable-werror --datarootdir=%p/share 
--infodir=%p/share/info --mandir=%p/share/man  --with-docdir=%p/share/doc 
--with-libiconv-prefix=%p
 Architecture: x86_64, i386
 DocFiles: COPYING README
@@ -19,27 +18,31 @@
 Homepage: http://opensource.apple.com/source/gdb
 Description: The GNU Project Debugger with Apple mods
 DescDetail: <<
-GDB, the GNU Project debugger, allows you to see what is going on
+Apple's 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.
-<<
 PatchScript: <<
 #!/bin/sh -ev
 perl -pi -e 's|-mmacosx-version-min=10.7||g' gdb/config/i386/macosx.mh 
libiberty/config/mh-macosx bfd/configure.host
-# hack around non-functional --with-included-gettext=no
+# hack around non-functional --with-included-gettext=no to not use bundled intl
 perl -pi -e 's|INTL = \@INTLLIBS\@|INTL = -L%p/lib -lintl|g' gdb/Makefile.in
 perl -pi -e 's|INTL_DEP = \@INTLDEPS\@|INTL_DEP =|g' gdb/Makefile.in
-rm -fr intl
+perl -pi -e 's|INTL_DIR = ../intl|INTL_DIR =|g' gdb/Makefile.in
+# hack Makefile.in's to build or use bundled readline except for creating 
gdb.info
+perl -pi -e 's|READLINE = \$\(READLINE_DIR\)/libreadline.a|READLINE = -L%p/lib 
-lreadline|g' gdb/Makefile.in
+perl -pi -e 's|READLINE_DEP = ../readline/libreadline.a|READLINE_DEP =|g' 
gdb/Makefile.in
+perl -pi -e 's|READLINE_DIR = ../readline|READLINE_DIR =|g' gdb/Makefile.in
+perl -pi -e 's|\$\(readline_h\)||g' gdb/Makefile.in
+perl -pi -e 's|\$\(readline_history_h\)||g' gdb/Makefile.in
+perl -pi -e 's|\$\(readline_tilde_h\)||g' gdb/Makefile.in
+perl -pi -e 's|if readline|if 0||g' Makefile.in
+rm -fr intl readline/*.h readline/*.c
 <<
 CompileScript: <<
 #!/bin/bash -ev
 ./configure %c
 make -j1 all-gdb MAKEINFO=%p/opt/texinfo-legacy/bin/makeinfo 
LEXLIB=%p/lib/libfl.a
-fink-package-precedence .
 <<
 InstallScript:<<
 #!/bin/bash -ev
@@ -84,4 +87,6 @@
   fi
 <<
 DescPort: <<
+This packaging provides the deprecated Apple gdb for use with Xcode 4.7 or 
later.
+It both BuildDepends and Depends on xcode (>= 4.7) to prevent displacing the 
system gdb.
 <<


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to