From ef4bfcfcfd184767eca24695030b4a3df7931d57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcin=20Krzy=C5=BCanowski?= Date: Sat, 3 Jul 2004 13:40:04 +0000 Subject: [PATCH] - updated to set LIB_PREFIX LIB_SUFFIX right Changed files: dotnet-gtk-sharp-mint.patch -> 1.4 --- dotnet-gtk-sharp-mint.patch | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/dotnet-gtk-sharp-mint.patch b/dotnet-gtk-sharp-mint.patch index 6a42de7..c3bc02b 100644 --- a/dotnet-gtk-sharp-mint.patch +++ b/dotnet-gtk-sharp-mint.patch @@ -24,24 +24,24 @@ diff -Nuard gtk-sharp-1.0.orig/configure.in gtk-sharp-1.0/configure.in -LIB_PREFIX= -LIB_SUFFIX=.dylib -fi -+dnl use mint if mono is not found -+ if test "x$has_mint" = "xtrue"; then ++dnl use mint if mono is not found ++ if test "x$has_mint" = "xtrue"; then + GACUTIL_FLAGS='/package $(PACKAGE) /root $(DESTDIR)$(libdir)' + GENERATED_SOURCES=generated/*.cs -+ AC_PATH_PROG(RUNTIME, mint, no) -+ AC_PATH_PROG(CSC, mcs, no) -+ LIB_PREFIX= -+ LIB_SUFFIX=.so -+ else -+ AC_PATH_PROG(CSC, csc.exe, no) -+ if test x$CSC = "xno"; then -+ AC_MSG_ERROR([You need to install either mono or .Net]) -+ else -+ RUNTIME= -+ LIB_PREFIX= -+ LIB_SUFFIX=.dylib -+ fi -+ fi ++ AC_PATH_PROG(RUNTIME, mint, no) ++ AC_PATH_PROG(CSC, mcs, no) ++ LIB_PREFIX=.so ++ LIB_SUFFIX= ++ else ++ AC_PATH_PROG(CSC, csc.exe, no) ++ if test x$CSC = "xno"; then ++ AC_MSG_ERROR([You need to install either mono or .Net]) ++ else ++ RUNTIME= ++ LIB_PREFIX= ++ LIB_SUFFIX=.dylib ++ fi ++ fi fi CS="C#" -- 2.44.0