Author: undefine                     Date: Sat Mar 18 01:15:43 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- copied from pnet-systemgc.patch

---- Files affected:
SOURCES:
   pnet-systemffi.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/pnet-systemffi.patch
diff -u /dev/null SOURCES/pnet-systemffi.patch:1.1
--- /dev/null   Sat Mar 18 02:15:43 2006
+++ SOURCES/pnet-systemffi.patch        Sat Mar 18 02:15:38 2006
@@ -0,0 +1,65 @@
+--- Makefile.am~       2005-08-17 00:42:32.000000000 +0000
++++ Makefile.am        2005-11-01 14:49:05.134576856 +0000
+@@ -12,14 +12,14 @@
+   
+ if PNET_TOOLS
+ 
+-SUBDIRS = . $(LIBGC_DIR) $(LIBFFI_DIR) include support image dumpasm engine 
ilasm ildasm \
++SUBDIRS = . $(LIBGC_DIR) include support image dumpasm engine ilasm ildasm \
+                 ilalink ilsize ilnative ilheader ilfind ildd codegen cscc \
+                 resgen ilstrip ilranlib ilgac csdoc csant clrwrap samples doc 
tests
+ 
+ else
+ 
+ ## We only want to build the runtime engine.
+-SUBDIRS = . $(LIBGC_DIR) $(LIBFFI_DIR) include coremul support image engine
++SUBDIRS = . $(LIBGC_DIR) include coremul support image engine
+ 
+ endif
+ 
+--- configure.in~      2005-08-17 00:42:32.000000000 +0000
++++ configure.in       2005-11-01 14:56:02.761087976 +0000
+@@ -559,7 +559,7 @@
+ dnl Set up libffi-related variables.
+ AC_SUBST(FFILIBS)
+ if test x$withffi = xyes ; then
+-      FFILIBS='$(top_builddir)/libffi/.libs/libffi.a'
++      FFILIBS='-lffi'
+       AC_DEFINE(HAVE_LIBFFI, 1, [Define if you are using libffi])
+ else
+       FFILIBS=""
+--- configure.in~      2006-03-13 01:26:28.000000000 +0000
++++ configure.in       2006-03-13 01:28:22.350401250 +0000
+@@ -659,32 +659,10 @@
+       dnl under $srcdir from a subdirectory of the build tree.  This is
+       dnl     different depending on whether $srcdir is absolute or relative.
+       if echo $srcdir | grep '^[[~/]]'; then 
+-              ffisrcdir=$srcdir/libffi
+               gcsrcdir=$srcdir/libgc
+       else
+-              ffisrcdir=../$srcdir/libffi
+               gcsrcdir=../$srcdir/libgc
+       fi
+-      if test x$withffi = xyes ; then
+-              if test ! -d libffi ; then
+-                      mkdir libffi
+-              fi
+-              cd "libffi"
+-              ${CONFIG_SHELL-/bin/sh} ${ffisrcdir}/configure --disable-shared 
\
+-                      --enable-multilib=no \
+-                      --disable-dependency-tracking \
+-                      --host="${host}" --build="${build}" 
--target="${target}" \
+-                      --disable-fast-install --prefix="${prefix}" \
+-                      --exec-prefix="${exec_prefix}" --bindir="${bindir}" \
+-                      --sbindir="${sbindir}" --libexecdir="${libexecdir}" \
+-                      --datadir="${datadir}" --sysconfdir="${sysconfdir}" \
+-                      --sharedstatedir="${sharedstatedir}" \
+-                      --localstatedir="${localstatedir}" 
--libdir="${libdir}/pnet" \
+-                      --includedir="${includedir}/pnet" \
+-                      --oldincludedir="${oldincludedir}/pnet" 
--infodir="${infodir}" \
+-                      --mandir="${mandir}" --srcdir="${ffisrcdir}" || exit 1
+-              cd ..
+-      fi
+ 
+       if test x$withgc = xyes ; then
+               if test ! -d libgc ; then
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to