Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv11522
Modified Files: fpc.info Removed Files: fpc.patch Log Message: Update from tracker http://sourceforge.net/tracker/index.php?func=detail&aid=1848963&group_id=17203&atid=414256 --- fpc.patch DELETED --- Index: fpc.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages/fpc.info,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- fpc.info 6 Nov 2007 18:52:05 -0000 1.6 +++ fpc.info 7 Feb 2008 14:08:36 -0000 1.7 @@ -1,61 +1,22 @@ Package: fpc -Version: 2.2.0 -Revision: 3 +Version: 2.2.1 +Revision: 1 Architecture: powerpc, i386 -BuildDepends: fink (>= 0.24.12) -# Reason for fink (>= 0.24.12): Use of PatchFile: field Recommends: fpc-doc -CustomMirror: << -aus-AU: http://fpc.planetmirror.com/pub/fpc/ -eur-AT: ftp://gd.tuwien.ac.at/languages/pascal/fpc/ -eur-BE: ftp://ftp.freepascal.org/pub/fpc/ -eur-HU: ftp://ftp.hu.freepascal.org/pub/fpc/ -eur-IL: http://mirror.mirimar.net/freepascal/ -eur-NL: ftp://freepascal.stack.nl/pub/fpc/ -eur-NO: ftp://ftp.no.freepascal.org/pub/fpc/ -eur-RU: ftp://ftp.chg.ru/pub/lang/pascal/fpc/ -Primary: ftp://ftp.freepascal.org/pub/fpc/ -<< -Source: mirror:custom:dist/%v/source/fpcbuild-%v.tar.gz -Source-MD5: 0869cfd07d012b702ff08c0a4196624b -Source2: mirror:custom:dist/%v/source/fpc-%v-2.universal-darwin.bootstrap.tar.bz2 -Source2-MD5: aad6102fe1a773ea1d0b8e7c1b05f828 -SourceDirectory: fpcbuild-%v/fpcsrc -PatchFile: %n.patch -PatchFile-MD5: 08facd944cdf940250e8d987bf6af682 +Source: http://michael-ep3.physik.uni-halle.de/fink-sources/fpcbuild.tar.bz2 +Source-MD5: 6f9b138d3f8afb65c291ca9087eb3d64 +SourceDirectory: fpc_%v Patchscript: << #!/bin/sh -ev -# The patch resolves a bug, when ginstall is used instead of install -# It concerns rtl/darwin/Makefile.fpc, line 14 -# types sysctl are put there for the second time -# variants types sysctl dateutils -# should therefore be: -# variants dateutils -# The same applies to several places in the resulting Makefile -# The bug has been fixed in FIXES_2_2 as well as in trunk. -# So, any higher version than 2.2.0 should not need this patch script. - sed -i.bak 's|variants types sysctl dateutils|variants dateutils|g' rtl/darwin/Makefile.fpc - sed -i.bak 's|variants types sysctl dateutils|variants dateutils|g' rtl/darwin/Makefile -# mv compiler/cfileutils.pas compiler/cfileutils.orig.pas -# sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1 - patch -p1 < %{PatchFile} + sed -i.bak 's|/usr/local/|%p/|g' fpc.cfg + sed -i.bak 's|$fpcversion|%v|g' fpc.cfg + sed -i.bak 's|$fpctarget|%m-darwin/|g' fpc.cfg << CompileScript: << #!/bin/sh -ev -# create the default fpc.cfg file -cat >%b/../../fpc.cfg <<EOFCFG --Fu%p/lib/fpc/%v/units/%m-darwin/ --Fu%p/lib/fpc/%v/units/%m-darwin/* --Fu%p/lib/fpc/%v/units/%m-darwin/rtl --Fl/usr/lib --Fl%p/lib --O1 --vim -EOFCFG -# compile the stuff if [ "%m" = "powerpc" ]; then ppcarch="ppcppc" ; else ppcarch="ppc386" ; fi - make all PP=%b/../../ppcuniversal OPT="-gl -g" - make fv ide PP=%b/compiler/$ppcarch OPT="-gl -g" + make all PP=%b/ppcuniversal + make fv ide PP=%b/compiler/$ppcarch << InstallScript: << #!/bin/sh -ev @@ -63,12 +24,16 @@ make install INSTALL_PREFIX=%i PP=%b/compiler/$ppcarch FPCMAKE=%b/utils/fpcm/fpcmake ln -sf ../lib/fpc/%v/$ppcarch %i/bin/$ppcarch make fv_install ide_install INSTALL_PREFIX=%i PP=%b/compiler/$ppcarch FPCMAKE=%b/utils/fpcm/fpcmake - make -C ../install/man INSTALL_PREFIX=%i/share - make -C ../install/doc INSTALL_PREFIX=%i/share PP=%b/compiler/$ppcarch + make -C man INSTALL_PREFIX=%i/share + make -C doc INSTALL_PREFIX=%i/share PP=%b/compiler/$ppcarch mkdir %i/etc - install -c -m 644 %b/../../fpc.cfg %i/etc/ + install -c -m 644 %b/fpc.cfg %i/etc/ << ConfFiles: %p/etc/fpc.cfg +RuntimeVars: << +FPCDIR: %p +PPC_CONFIG_PATH: %p/etc/ +<< License: GPL/LGPL Description: Free Pascal (aka FPK Pascal) compiler DescDetail: << @@ -88,18 +53,29 @@ This Pascal compiler produces PowerPC and x86 executables, which run natively on PowerPC and x86 Macs. PowerPC executables also runs in Rosetta emulation on x86 Macs. + + get help with: "fpc -h" + + compile and link a Pascal source code file with: "fpc FILENAME" + Use lipo to combine PowerPC and x86 binaries to universal binaries. - get help with: fpc -? - compile and link a Pascal file with: fpc FILENAME + + fpc.cfg will be installed in /sw/etc and is used through setting the + environment variable PPC_CONFIG_PATH. fpc.cfg remains there after a + "fink remove fpc". Remove it by "fink install fpc" followed by + "fink purge fpc" or without installing and "sudo dpkg --purge fpc". + For setting up the Free Pascal IDE see: http://www.freepascal.org/wiki/index.php/Textmode_IDE + For using Free Pascal with Xcode see: http://www.freepascal.org/xcode.html + For more documentation about Free Pascal in HTML and pdf, install fpc-doc << DescPort: << - Nothing special, yet. ToDo: lazarus, universal binaries and extra package - with dependent C libraries (gtk ...) . + stabs format of debugging is not working on 10.5. + ToDo: universal binaries and packages with dependent C libraries (gtk ...) . << Homepage: http://www.freepascal.org Maintainer: Karl-Michael Schindler <[EMAIL PROTECTED]> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs