- Add libproxy-FindMono-4.6.patch: Fall back to mcs if gmcs cannot be found. Fixes issues with mono 4.6, which no longer ships the wrapper by default. - Add libproxy-FindMono-4.6.patch: Fall back to mcs if gmcs cannot be found. Fixes issues with mono 4.6, which no longer ships the wrapper by default. OBS-URL: https://build.opensuse.org/request/show/431223 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=127
32 lines
1013 B
Diff
32 lines
1013 B
Diff
From 2e4546b3cde31d657df34f6d247c92c47c83bf81 Mon Sep 17 00:00:00 2001
|
|
From: Dominique Leuenberger <dimstar@opensuse.org>
|
|
Date: Thu, 29 Sep 2016 11:36:50 +0200
|
|
Subject: [PATCH 5/5] FindMono: fall back to mcs when gmcs cannot be found
|
|
|
|
With mono 4.6, gmcs is no longer an upstream shipped wrapper.
|
|
Just fallback to 'mcs' if gmcs cannot be found. Distros still shipping
|
|
gmcs are assumed to know why they do so - in this case we favor their
|
|
local scripts.
|
|
|
|
Fixes issue #37.
|
|
---
|
|
cmake/FindMono.cmake | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/cmake/FindMono.cmake b/cmake/FindMono.cmake
|
|
index 95930b0..d4aa0ca 100644
|
|
--- a/cmake/FindMono.cmake
|
|
+++ b/cmake/FindMono.cmake
|
|
@@ -12,7 +12,7 @@
|
|
# Redistribution and use is allowed according to the terms of the GPL license.
|
|
|
|
FIND_PROGRAM (MONO_EXECUTABLE mono)
|
|
-FIND_PROGRAM (GMCS_EXECUTABLE gmcs)
|
|
+FIND_PROGRAM (GMCS_EXECUTABLE NAMES gmcs mcs)
|
|
FIND_PROGRAM (GACUTIL_EXECUTABLE gacutil)
|
|
|
|
SET (MONO_FOUND FALSE CACHE INTERNAL "")
|
|
--
|
|
2.10.0
|
|
|