aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsenShnurkov <ArsenShnurkov@users.noreply.github.com>2017-07-24 13:14:25 +0300
committerArsenShnurkov <ArsenShnurkov@users.noreply.github.com>2017-07-24 13:14:25 +0300
commitd429098dd6d89676f067d8c6d09a77f011584d6e (patch)
tree3fa1e4a19a6a26c905ec66306ef5ce5129e9b2d8 /dev-dotnet/aspnet-configuration
parentMerge pull request #308 from dmitryvk/netcore-llvm4-heimdal (diff)
downloaddotnet-d429098dd6d89676f067d8c6d09a77f011584d6e.tar.gz
dotnet-d429098dd6d89676f067d8c6d09a77f011584d6e.tar.bz2
dotnet-d429098dd6d89676f067d8c6d09a77f011584d6e.zip
mono v5 fix
Diffstat (limited to 'dev-dotnet/aspnet-configuration')
-rw-r--r--dev-dotnet/aspnet-configuration/aspnet-configuration-1.0.0-r5.ebuild (renamed from dev-dotnet/aspnet-configuration/aspnet-configuration-1.0.0.ebuild)19
1 files changed, 14 insertions, 5 deletions
diff --git a/dev-dotnet/aspnet-configuration/aspnet-configuration-1.0.0.ebuild b/dev-dotnet/aspnet-configuration/aspnet-configuration-1.0.0-r5.ebuild
index 28bbca3..b50295b 100644
--- a/dev-dotnet/aspnet-configuration/aspnet-configuration-1.0.0.ebuild
+++ b/dev-dotnet/aspnet-configuration/aspnet-configuration-1.0.0-r5.ebuild
@@ -32,17 +32,26 @@ src_prepare() {
eapply_user
}
+SNK_FILENAME="${S}/tools/Key.snk"
+
src_compile() {
- exbuild_strong /p:VersionNumber=${PV} "src/src.sln"
+ exbuild_strong /p:TargetFrameworkVersion=v4.5 /p:VersionNumber=${PV} "src/src.sln"
+ if use debug; then
+ DIR="Debug"
+ else
+ DIR="Release"
+ fi
+ sn -R "src/Microsoft.Extensions.Configuration.Abstractions/bin/${DIR}/Microsoft.Extensions.Configuration.Abstractions.dll" "${SNK_FILENAME}" || die
+ sn -R "src/Microsoft.Extensions.Configuration/bin/${DIR}/Microsoft.Extensions.Configuration.dll" "${SNK_FILENAME}" || die
}
src_install() {
if use debug; then
- CONFIGURATION=Debug
+ DIR=Debug
else
- CONFIGURATION=Release
+ DIR=Release
fi
- egacinstall "src/Microsoft.Extensions.Configuration.Abstractions/bin/${CONFIGURATION}/Microsoft.Extensions.Configuration.Abstractions.dll"
- egacinstall "src/Microsoft.Extensions.Configuration/bin/${CONFIGURATION}/Microsoft.Extensions.Configuration.dll"
+ egacinstall "src/Microsoft.Extensions.Configuration.Abstractions/bin/${DIR}/Microsoft.Extensions.Configuration.Abstractions.dll"
+ egacinstall "src/Microsoft.Extensions.Configuration/bin/${DIR}/Microsoft.Extensions.Configuration.dll"
einstall_pc_file "${PN}" "${PV}" "Microsoft.Extensions.Configuration.Abstractions" "Microsoft.Extensions.Configuration"
}