diff options
-rw-r--r-- | graphics/pinta/pinta.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/pinta/pinta.SlackBuild b/graphics/pinta/pinta.SlackBuild index b765fdb13a..e9d5c28f6f 100644 --- a/graphics/pinta/pinta.SlackBuild +++ b/graphics/pinta/pinta.SlackBuild @@ -70,6 +70,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# update the project and solution files for mono4 +# Thanks to Fedora Project +find . -name "*.sln" -print -exec sed -i 's/Format Version 10.00/Format Version 11.00/g' {} \; +find . \( -name "*.csproj" -o -name "*.proj" \) -print -exec sed -i 's#ToolsVersion="3.5"#ToolsVersion="4.0"#g; s#<TargetFrameworkVersion>.*</TargetFrameworkVersion>##g; s#<PropertyGroup>#<PropertyGroup><TargetFrameworkVersion>v4.5</TargetFrameworkVersion>#g; s#Mono.Posix, Version.*"#Mono.Posix"#g' {} \; + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |