mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 17:49:14 +02:00
activated TIBQuery for fpc 1.1+
git-svn-id: trunk@5441 -
This commit is contained in:
parent
8e511b5c1e
commit
f93500465f
@ -8,7 +8,7 @@ unit InterbaseLaz;
|
||||
interface
|
||||
|
||||
uses
|
||||
RegisterInterbase, LazarusPackageIntf;
|
||||
RegisterInterbase, Interbase, LazarusPackageIntf;
|
||||
|
||||
implementation
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 | \
|
||||
|
Loading…
Reference in New Issue
Block a user