public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-scheme/c-wrapper/files: c-wrapper-system-libffi.diff
@ 2011-08-13 11:41 Akinori Hattori (hattya)
  0 siblings, 0 replies; only message in thread
From: Akinori Hattori (hattya) @ 2011-08-13 11:41 UTC (permalink / raw
  To: gentoo-commits

hattya      11/08/13 11:41:37

  Added:                c-wrapper-system-libffi.diff
  Log:
  update to EAPI 4. depend on dev-libs/libffi for fixing runtime error.
  
  (Portage version: 2.1.10.3/cvs/Linux i686)

Revision  Changes    Path
1.1                  dev-scheme/c-wrapper/files/c-wrapper-system-libffi.diff

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-scheme/c-wrapper/files/c-wrapper-system-libffi.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-scheme/c-wrapper/files/c-wrapper-system-libffi.diff?rev=1.1&content-type=text/plain

Index: c-wrapper-system-libffi.diff
===================================================================
--- c-wrapper-0.6.1.orig/configure.ac
+++ c-wrapper-0.6.1/configure.ac
@@ -53,6 +53,7 @@
 
 dnl Check for libraries
 dnl Add your macro calls to check required libraries, if you have any.
+PKG_CHECK_MODULES([FFI], [libffi])
 
 dnl Platform-dependent configuration.
 AC_ARG_ENABLE(objc, [  --enable-objc           turn on Objective-C support])
--- c-wrapper-0.6.1.orig/src/Makefile.in
+++ c-wrapper-0.6.1/src/Makefile.in
@@ -20,9 +20,9 @@
 GAUCHE_PACKAGE = @GAUCHE_PACKAGE@
 INSTALL        = @GAUCHE_INSTALL@
 
-CPPFLAGS       = -I./libffi/include -DGAUCHE_API_0_8_8 @CPPFLAGS@
+CPPFLAGS       = -DGAUCHE_API_0_8_8 @FFI_CFLAGS@ @CPPFLAGS@
 LDFLAGS        = @LDFLAGS@
-LIBS           = libffi/.libs/libffi.a @LIBS@
+LIBS           = @FFI_LIBS@ @LIBS@
 
 YACC           = @YACC@
 
@@ -38,7 +38,7 @@
 SCMFILES  = 
 HEADERS   = 
 
-TARGET    = libffi/.libs/libffi.a $(ARCHFILES)
+TARGET    = $(ARCHFILES)
 GENERATED = libffi
 CONFIG_GENERATED = libffi/Makefile Makefile cwcompile
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-13 11:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-13 11:41 [gentoo-commits] gentoo-x86 commit in dev-scheme/c-wrapper/files: c-wrapper-system-libffi.diff Akinori Hattori (hattya)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox