Ancient spell: fpc (Bug #369)


Added by Vyacheslav Sharovarov over 2 years ago. Updated over 2 years ago.


Status:New Start date:03/04/2012
Priority:Low Due date:
Assignee:- % Done:

0%

Category:Devel
Target version:-
Grimoire:Test

Description

Current version of Free pascal is 2.6.0, please update the spell.


Related issues

blocks Grimoire - Bug #424: [stable 0-61.3 cast failures] Master Bug New 08/05/2012

History

Updated by Carlo Dormeletti over 2 years ago

pleas update the spell to 2.6.0

Updated by Carlo Dormeletti over 2 years ago

modifying the DETAILS file as follow and ignoring the SHA check the 2.6.0 compile fine, not tested if it works.
--------------------Begin DETAILS -----------------
SPELL=fpc
if $FPV_DEV == y ;then
VERSION=2.6.0
SOURCE_HASH=sha512:3382741b4b95dda1d4d9e4ba3dbb86535c29ff9d772baf44cdf5b5cf4a1dd383fd61208cdcbcaff548a08ea84b3ee45174c4dbe841495df1bf8aca1790682de3
SOURCE=$SPELL-$VERSION.source.tar.gz
SOURCE_URL0=ftp://ftp.freepascal.org/pub/fpc/dist/${VERSION}/source/$SOURCE
else
VERSION=2.2.4
SOURCE_HASH=sha512:ae3d9bda074898a73aafaaef03b8d3903fbc098bef51069f2aee6b5bca029ec99f2a85653e747f3bf49d4322b924a5959170c22e781b7bfc67e98e1bbf2a1019
SOURCE=$SPELL-$VERSION.source.tar.gz
SOURCE_URL0=${SOURCEFORGE_URL}/freepascal/$SOURCE
SOURCE_URL1=ftp://ftp.freepascal.org/fpc/dist/source-${VERSION}/$SOURCE
fi
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
WEB_SITE=http://www.freepascal.org
if ! spell_ok fpc ; then
VERSIONB=2.4.4
if "${SMGL_COMPAT_ARCHS<sup><a href="; then
SOURCE2=$SPELL-$VERSIONB.i386-linux.tar
elif "${SMGL_COMPAT_ARCHS<sup><a href="; then
SOURCE2=$SPELL-$VERSIONB.x86_64-linux.tar
else
SOURCE2=$SPELL-$VERSIONB.i386-linux.tar
fi
SOURCE2_URL0=$SOURCEFORGE_URL/freepascal/$SOURCE2
SOURCE2_GPG=gurus.gpg:$SOURCE2.sig:WORKS_FOR_ME
fi
LICENSE0=GPL
KEYWORDS="pascal compiler devel"
ENTERED=20050521
CCACHE=off
SHORT="a Pascal compiler"
cat << EOF
Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler.
It is available for different processors: Intel x86, Amd64/x86 64, PowerPC,
Sparc.
EOF

--------------------- End DETAILS -----------------------------

Updated by Carlo Dormeletti over 2 years ago

Sorry the above file is for compiling 2.6.0 enabling the devel version

Updated by Carlo Dormeletti over 2 years ago

tested some more tried to cast lazarus and found an error "Can't find unit Contnrs used by Masks" so goggled and foud out that the file /etc/fpc.cfg is wrong it's needed to modify all the path /usr/local/lib/...... to /usr/lib/...... to make it work.

Also available in: Atom PDF