mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 07:29:21 +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
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
RegisterInterbase, LazarusPackageIntf;
|
RegisterInterbase, Interbase, LazarusPackageIntf;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@ -30,7 +30,8 @@ implementation
|
|||||||
|
|
||||||
procedure RegisterUnitInterbase;
|
procedure RegisterUnitInterbase;
|
||||||
begin
|
begin
|
||||||
RegisterComponents('Interbase',[TIBDatabase,TIBTransaction{,TIBQuery}]);
|
RegisterComponents('Interbase',[TIBDatabase,TIBTransaction
|
||||||
|
{$IFNDEF VER1_0},TIBQuery{$ENDIF}]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure Register;
|
procedure Register;
|
||||||
|
@ -158,6 +158,14 @@ else
|
|||||||
fi
|
fi
|
||||||
cd -
|
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
|
# fix fpc.spec bug: smart_strip.sh is searched at wrong location
|
||||||
SmartStripWhileBuild="/usr/src/redhat/BUILD/fpc-$CompilerVersion.$CompilerRelease.$CompilerPatch/smart_strip.sh"
|
SmartStripWhileBuild="/usr/src/redhat/BUILD/fpc-$CompilerVersion.$CompilerRelease.$CompilerPatch/smart_strip.sh"
|
||||||
cat $SpecFile | \
|
cat $SpecFile | \
|
||||||
|
Loading…
Reference in New Issue
Block a user