mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 08:09:26 +02:00
fppkg: fixed compile
git-svn-id: trunk@60760 -
This commit is contained in:
parent
3d8f05aae7
commit
d8e2682f1c
@ -1661,7 +1661,10 @@ begin
|
||||
{$ENDIF}
|
||||
|
||||
if CheckFppkgConfiguration(Msg)<>sddqCompatible then
|
||||
IDEMessageDialog(lisFppkgProblem, Format(lisFppkgWriteConfFailed, [Msg], mtWarning, [mbOK]);
|
||||
begin
|
||||
IDEMessageDialog(lisFppkgProblem, Format(lisFppkgWriteConfFailed, [Msg]),
|
||||
mtWarning, [mbOK]);
|
||||
end;
|
||||
end;
|
||||
|
||||
function TInitialSetupDialog.CheckFpcmkcfgQuality(out Note: string): TSDFilenameQuality;
|
||||
|
@ -9,11 +9,11 @@ uses
|
||||
SysUtils,
|
||||
{$IF FPC_FULLVERSION>30100}
|
||||
pkgFppkg,
|
||||
{$ENDIF}
|
||||
fprepos,
|
||||
LazarusIDEStrConsts,
|
||||
{$ENDIF}
|
||||
LazLogger,
|
||||
LazFileCache,
|
||||
LazarusIDEStrConsts,
|
||||
FileUtil,
|
||||
LazFileUtils;
|
||||
|
||||
@ -111,8 +111,10 @@ begin
|
||||
end;
|
||||
|
||||
function TFppkgHelper.HasPackage(const PackageName: string): Boolean;
|
||||
{$IF FPC_FULLVERSION>30100}
|
||||
var
|
||||
Msg: string;
|
||||
{$ENDIF}
|
||||
begin
|
||||
{$IF NOT (FPC_FULLVERSION>30100)}
|
||||
Result := HasFPCPackagesOnly(PackageName);
|
||||
@ -317,7 +319,7 @@ begin
|
||||
end;
|
||||
result := FIsProperlyConfigured=fpcYes;
|
||||
{$ELSE}
|
||||
result := True
|
||||
result := True;
|
||||
{$ENDIF FPC_FULLVERSION>30100}
|
||||
Message := FConfStatusMessage;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user