From 49a7323b645793ab1a74b47478ebc04d3169d918 Mon Sep 17 00:00:00 2001 From: joost Date: Wed, 29 Oct 2014 20:20:58 +0000 Subject: [PATCH] * Install extra files relative to $(prefix) instead of $(baseinstalldir). This way yylex.cod and yyparse.cod can be installed without using a absolute path (Not possible in archives) git-svn-id: trunk@28945 - --- packages/fpmkunit/src/fpmkunit.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fpmkunit/src/fpmkunit.pp b/packages/fpmkunit/src/fpmkunit.pp index 8b80c2456a..5eb5aae6e3 100644 --- a/packages/fpmkunit/src/fpmkunit.pp +++ b/packages/fpmkunit/src/fpmkunit.pp @@ -6666,7 +6666,7 @@ begin GlobalDictionary.AddVariable('unitinstalldir',Defaults.UnitInstallDir); GlobalDictionary.AddVariable('packageunitinstalldir',APackage.GetPackageUnitInstallDir(Defaults.CPU,Defaults.OS)); - D:=IncludeTrailingPathDelimiter(Defaults.BaseInstallDir); + D:=FixPath(Defaults.Prefix); // This is to install the TPackage.Installfiles, which are not related to any // target if InstallPackageFiles(APackage,[],D) then