activated TIBQuery for fpc 1.1+

git-svn-id: trunk@5441 -
This commit is contained in:
mattias 2004-05-01 17:21:02 +00:00
parent 8e511b5c1e
commit f93500465f
3 changed files with 11 additions and 2 deletions

View File

@ -8,7 +8,7 @@ unit InterbaseLaz;
interface
uses
RegisterInterbase, LazarusPackageIntf;
RegisterInterbase, Interbase, LazarusPackageIntf;
implementation

View File

@ -30,7 +30,8 @@ implementation
procedure RegisterUnitInterbase;
begin
RegisterComponents('Interbase',[TIBDatabase,TIBTransaction{,TIBQuery}]);
RegisterComponents('Interbase',[TIBDatabase,TIBTransaction
{$IFNDEF VER1_0},TIBQuery{$ENDIF}]);
end;
procedure Register;

View File

@ -158,6 +158,14 @@ else
fi
cd -
# fix Makefile bug: it tests /usr/src/redhat, instaed of /usr/src/redhat/RPMS
cd $TmpDir
cat Makefile | \
sed -e 's#ifeq ($(wildcard $(REDHATDIR)),)#ifeq ($(wildcard $(REDHATDIR)/RPMS),)#' \
> New.Makefile
mv New.Makefile Makefile
cd -
# fix fpc.spec bug: smart_strip.sh is searched at wrong location
SmartStripWhileBuild="/usr/src/redhat/BUILD/fpc-$CompilerVersion.$CompilerRelease.$CompilerPatch/smart_strip.sh"
cat $SpecFile | \