commit:     391a0df35aa7f22831fd7d616e2be1f1c04d93e5
Author:     Nicholas Little <arealityfarbetween <AT> googlemail <DOT> com>
AuthorDate: Sat Jan 10 16:31:09 2015 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 16:46:52 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/dotnet.git;a=commit;h=391a0df3

build: Disable git integration, remedy binding

Git integration was causing a failed build with the 5.0.1 ebuild since
the git repository is understandably missing in the tarball. In
addition, on systems where gtk#-3 is also installed the build
experiences binding version mismatches (particularly with gdk-sharp and
glib-sharp).

This patch removes the git execution and sets specific_version for
libraries with judicial use of sed.

---
 dev-util/monodevelop/monodevelop-5.0.1.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dev-util/monodevelop/monodevelop-5.0.1.ebuild 
b/dev-util/monodevelop/monodevelop-5.0.1.ebuild
index 04d9c8c..672b530 100644
--- a/dev-util/monodevelop/monodevelop-5.0.1.ebuild
+++ b/dev-util/monodevelop/monodevelop-5.0.1.ebuild
@@ -37,6 +37,15 @@ DEPEND="${RDEPEND}
        x11-terms/xterm"
 MAKEOPTS="${MAKEOPTS} -j1" #nowarn
 
+src_prepare() {
+       # Remove the git rev-parse (changelog?)
+       sed -i '/<Exec.*rev-parse/ d' 
${S}/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj || die
+
+       # Set specific_version to prevent binding problem
+       # when gtk#-3 is installed alongside gtk#-2
+       find ${S} -name '*.csproj' -exec sed -i 
's#<SpecificVersion>.*</SpecificVersion>#<SpecificVersion>True</SpecificVersion>#'
 {} + || die
+}
+
 src_configure() {
        econf \
                --disable-update-mimedb \

Reply via email to