1
0
forked from ports/contrib

fpc: source file renamed and updated

This commit is contained in:
Danny Rawlins 2011-12-13 10:44:59 +11:00
parent 039ce7553a
commit 23b49f17f3
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,3 @@
d069dfd3412bd0d26dcd1b81ac998305 fpcbuild-2.4.4.tar.gz
538aa35bfe2db9330b7847908b2abebd i386-linux-ppc386.bz2
11debf667e4aca6265a22ce7e4c5fdf5 libgdb_mingw701.zip
a30fe61d16dcb14109c0cddeb5c8fdc1 ppc386-i386-linux.bz2

View File

@ -5,20 +5,20 @@
name=fpc
version=2.4.4
release=1
release=2
source=(ftp://ftp.freepascal.org/pub/fpc/dist/$version/source/fpcbuild-$version.tar.gz
ftp://ftp.freepascal.org/pub/fpc/dist/$version/bootstrap/ppc386-i386-linux.bz2
ftp://ftp.freepascal.org/pub/fpc/dist/$version/bootstrap/i386-linux-ppc386.bz2
ftp://ftp.freepascal.org/pub/fpc/contrib/libgdb/v7.0.1/libgdb_mingw701.zip)
build() {
bunzip2 ppc386-i386-linux.bz2
chmod 0755 ppc386-i386-linux
bunzip2 i386-linux-ppc386.bz2
chmod 0755 i386-linux-ppc386
export LIBGDBDIR=$SRC/libgdb/win32/i386/
cd fpcbuild-$version/fpcsrc/
make -j 1 PP=$SRC/ppc386-i386-linux build
make -j 1 PP=$SRC/i386-linux-ppc386 build
cp $SRC/fpcbuild-$version/fpcsrc/compiler/ppc386 \
$SRC/fpcbuild-$version/fpcsrc/compiler/ppc386.new