summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Volodymyr Medvid <vmedvid@riseup.net> 2015-09-06 16:57:39 +0000
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2015-11-08 14:25:30 +0100
commit23511dba8837927109d49572f2a96b1bcdd2d34b (patch)
treec78d688ad80ae905074efcb021874c8ee16479e0
parenta5d553530c2e06c4f6d56d5f45f7ff4f83759d3f (diff)
downloadmono-23511dba8837927109d49572f2a96b1bcdd2d34b.tar.gz
mono-23511dba8837927109d49572f2a96b1bcdd2d34b.tar.xz
gtk-sharp: fix build with mono-4
Also, use virtual/pkg-config. Change-Id: I7685d89444243f34aa0ba826e49e1814ee240b9c Reviewed-on: https://galileo.mailstation.de/gerrit/3515 Reviewed-by: Wulf C. Krueger <philantrop@exherbo.org>
-rw-r--r--packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-06
-rw-r--r--packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-06
2 files changed, 10 insertions, 2 deletions
diff --git a/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-0 b/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-0
index f616a16..c8d3484 100644
--- a/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-0
+++ b/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.12.10.exheres-0
@@ -13,7 +13,7 @@ MYOPTIONS=""
DEPENDENCIES="
build:
- dev-util/pkg-config[>=0.20]
+ virtual/pkg-config[>=0.20]
build+run:
dev-lang/mono[>=1.0][X]
dev-libs/atk
@@ -26,6 +26,10 @@ DEPENDENCIES="
DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}/${PNV}-fix-glib_h-includes.patch"
"${FILES}/${PNV}-fix-libdir.patch" )
+pkg_setup() {
+ export CSC=/usr/$(exhost --target)/bin/mcs
+}
+
src_prepare() {
default
diff --git a/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-0 b/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-0
index bec21d5..6817c7c 100644
--- a/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-0
+++ b/packages/gnome-bindings/gtk-sharp/gtk-sharp-2.99.3.exheres-0
@@ -14,7 +14,7 @@ MYOPTIONS=""
DEPENDENCIES="
build:
- dev-util/pkg-config[>=0.20]
+ virtual/pkg-config[>=0.20]
build+run:
dev-lang/mono[>=2.8]
dev-libs/atk
@@ -23,6 +23,10 @@ DEPENDENCIES="
x11-libs/pango
"
+pkg_setup() {
+ export CSC=/usr/$(exhost --target)/bin/mcs
+}
+
src_prepare() {
default