From 2e2e8fed9dea59e0da3870b6cab21162c2cecfb1 Mon Sep 17 00:00:00 2001 From: romain Date: Mon, 8 Aug 2016 17:50:44 +0000 Subject: Fix build with mono 4.4. Some assemblies have been relocated, so adjust files path to point to the correct location. --- games/gbrainy/files/patch-configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 games/gbrainy/files/patch-configure 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 -- cgit