use architecture in the package name, so that both packages can coexist

git-svn-id: trunk@9596 -
This commit is contained in:
vincents 2006-07-12 18:05:13 +00:00
parent d019406bc5
commit 07a636a01a
2 changed files with 3 additions and 2 deletions

View File

@ -1038,7 +1038,7 @@ For more information, see the readme.txt file or visit http://www.freepascal.org
<key>IFPkgFlagPackageSelection</key>
<integer>0</integer>
<key>Name</key>
<string>fpc-_FPCVERSION_-_DATESTAMP_</string>
<string>fpc-_FPCVERSION_-_DATESTAMP_-_FPCARCH_</string>
<key>Status</key>
<integer>1</integer>
<key>Type</key>

View File

@ -99,7 +99,8 @@ FPCMAJORVERSION=`set $FPCVERSION; echo $1`
FPCMINORVERSION=`set $FPCVERSION; echo $2$3`
IFS=$OLDIFS
sed -e "s|_PPCARCH_|$PPCARCH|g" -e "s|_FPCSRCDIR_|$FPCSVNDIR|g" -e "s|_FPCVERSION_|$FPCVERSION|g" \
-e "s|_DATESTAMP_|$DATESTAMP|g" -e s/_FPCMAJORVERSION_/$FPCMAJORVERSION/g -e s/_FPCMINORVERSION_/$FPCMINORVERSION/g \
-e "s|_DATESTAMP_|$DATESTAMP|g" -e s/_FPCMAJORVERSION_/$FPCMAJORVERSION/g \
-e "s/_FPCMINORVERSION_/$FPCMINORVERSION/g" -e "s/_FPCARCH_/$FPCARCH/g" \
$TEMPLATEDIR/$FPCPACKPROJ.template > $INSTALLDIR/$FPCPACKPROJ
# build package