]> git.pld-linux.org Git - packages/dotnet-gtk-sharp.git/commitdiff
- updated to set LIB_PREFIX LIB_SUFFIX right
authorMarcin Krzyżanowski <marcin.krzyzanowski@hakore.com>
Sat, 3 Jul 2004 13:40:04 +0000 (13:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dotnet-gtk-sharp-mint.patch -> 1.4

dotnet-gtk-sharp-mint.patch

index 6a42de79679180d33f3aa49c4414a487f99b3d99..c3bc02b8dddbdc8ec8a8612e32f3806f75a29e65 100644 (file)
@@ -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#"
This page took 0.114581 seconds and 4 git commands to generate.