aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorromain <romain@FreeBSD.org>2016-08-09 01:50:44 +0800
committerromain <romain@FreeBSD.org>2016-08-09 01:50:44 +0800
commit2e2e8fed9dea59e0da3870b6cab21162c2cecfb1 (patch)
tree688ba5ed067a48f68e8039be25c014e805817bcd
parentc698c39a1eed98ea2a903cc55b26314f63ccfd39 (diff)
downloadfreebsd-ports-gnome-2e2e8fed9dea59e0da3870b6cab21162c2cecfb1.tar.gz
freebsd-ports-gnome-2e2e8fed9dea59e0da3870b6cab21162c2cecfb1.tar.zst
freebsd-ports-gnome-2e2e8fed9dea59e0da3870b6cab21162c2cecfb1.zip
Fix build with mono 4.4.
Some assemblies have been relocated, so adjust files path to point to the correct location.
-rw-r--r--games/gbrainy/files/patch-configure16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/gbrainy/files/patch-configure b/games/gbrainy/files/patch-configure
new file mode 100644
index 000000000000..faa5ba4d17ce
--- /dev/null
+++ b/games/gbrainy/files/patch-configure
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- configure.orig
++++ configure
+@@ -13674,8 +13674,8 @@
+ for i in $needed_assemblies; do
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $i.dll" >&5
+ $as_echo_n "checking for $i.dll... " >&6; }
+- if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/2.0/$i.dll -o -e `$PKG_CONFIG --variable=prefix mono`/lib64/mono/2.0/$i.dll \); then
+- if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/4.0/$i.dll -o -e `$PKG_CONFIG --variable=prefix mono`/lib64/mono/4.0/$i.dll \); then
++ if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/2.0-api/$i.dll -o -e `$PKG_CONFIG --variable=prefix mono`/lib64/mono/2.0-api/$i.dll \); then
++ if test ! \( -e `$PKG_CONFIG --variable=prefix mono`/lib/mono/4.0-api/$i.dll -o -e `$PKG_CONFIG --variable=prefix mono`/lib64/mono/4.0-api/$i.dll \); then
+ as_fn_error $? "missing required mono 2.0/4.0 DLL: $i.dll" "$LINENO" 5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5