Browse Source

* Fix wrongly renamed units/packages

Michaël Van Canneyt 2 years ago
parent
commit
354c4ddcc1
2 changed files with 4 additions and 4 deletions
  1. 2 2
      packages/fpmkunit/fpmake.pp
  2. 2 2
      packages/fppkg/fpmake.pp

+ 2 - 2
packages/fpmkunit/fpmake.pp

@@ -12,7 +12,7 @@ begin
     begin
 {$endif ALLPACKAGES}
 
-    P:=AddPackage('{$ifdef unix}cthreads,{$endif} fpmkunit');
+    P:=AddPackage('fpmkunit');
     P.ShortName:='fpmk';
 {$ifdef ALLPACKAGES}
     P.Directory:=ADirectory;
@@ -37,7 +37,7 @@ begin
     D:=P.Dependencies.Add('fcl-process',AllOSes-[morphos,aros,amiga,go32v2,os2]);
     D:=P.Dependencies.Add('libtar');
 
-    with P.Targets.AddUnit('src/{$ifdef unix}cthreads,{$endif} fpmkunit.pp') do
+    with P.Targets.AddUnit('src/fpmkunit.pp') do
       ResourceStrings:=true;
 
 {$ifndef ALLPACKAGES}

+ 2 - 2
packages/fppkg/fpmake.pp

@@ -17,7 +17,7 @@ Var
   Data2Inc : string;
 begin
   AddCustomFpmakeCommandlineOption('data2inc', 'Use indicated data2inc executable.');
-  AddCustomFpmakeCommandlineOption('gen{$ifdef unix}cthreads,{$endif} fpmkunit', 'Regenerate the fpmkunitsrc.inc file (fppkg).');
+  AddCustomFpmakeCommandlineOption('genfpmkunit', 'Regenerate the fpmkunitsrc.inc file (fppkg).');
 
   With Installer do
     begin
@@ -31,7 +31,7 @@ begin
     P.Dependencies.Add('fcl-xml');
     P.Dependencies.Add('fcl-process',AllOSes-[go32v2,os2]);
     P.Dependencies.Add('paszlib');
-    P.Dependencies.Add('{$ifdef unix}cthreads,{$endif} fpmkunit');
+    P.Dependencies.Add('fpmkunit');
 
     P.Dependencies.Add('univint',[MacOSX,iphonesim,ios]);
     P.Dependencies.Add('fcl-net', TargetsWithfpWeb);