SF.net SVN: gar:[24709] csw/mgar/pkg/libffi/trunk

rmottola at users.sourceforge.net rmottola at users.sourceforge.net
Fri Mar 6 23:33:54 CET 2015


Revision: 24709
          http://sourceforge.net/p/gar/code/24709
Author:   rmottola
Date:     2015-03-06 22:33:54 +0000 (Fri, 06 Mar 2015)
Log Message:
-----------
updated to 3.2.1 and switched compilation to gcc. Builds and appears to work, package is not yet 100% right though

Modified Paths:
--------------
    csw/mgar/pkg/libffi/trunk/Makefile
    csw/mgar/pkg/libffi/trunk/checksums

Modified: csw/mgar/pkg/libffi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libffi/trunk/Makefile	2015-03-06 14:34:05 UTC (rev 24708)
+++ csw/mgar/pkg/libffi/trunk/Makefile	2015-03-06 22:33:54 UTC (rev 24709)
@@ -1,7 +1,7 @@
 # $Id$
 
 NAME = libffi
-VERSION = 3.0.9
+VERSION = 3.2.1
 GARTYPE = v2
 
 DESCRIPTION = A portable foreign function interface library
@@ -18,38 +18,39 @@
 MASTER_SITES = ftp://sourceware.org/pub/libffi/
 SPKG_SOURCEURL = http://sourceware.org/libffi/
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
+
 # Not needed unless using SOS compiler
-PATCHFILES += Makefile.in.patch
-# Not really needed for build, but for SOS compiler using libffi
-PATCHFILES += ffi_common.h.patch
-PATCHFILES += ffi_target.h.patch
+#PATCHFILES += Makefile.in.patch
+# Not really needed for build, but for SOS compiler using libffi (not neeeded for recent libffi)
+#PATCHFILES += ffi_common.h.patch
+
+#PATCHFILES += ffi_target.h.patch
+
 # Fix needed for amd64 using SOS compiler
 # found at http://software.intel.com/en-us/forums/showthread.php?t=56652
 # originally for icc, but at least get the stuff to compile
-PATCHFILES += ffi64.c.patch
-PATCHFILES += 0005-libffi.pc-should-point-at-opt-csw-include.patch
-PATCHFILES += 0006-Set-libdir-to-opt-csw-lib-ffi.patch
+# PATCHFILES += ffi64.c.patch
+#PATCHFILES += 0005-libffi.pc-should-point-at-opt-csw-include.patch
+#PATCHFILES += 0006-Set-libdir-to-opt-csw-lib-ffi.patch
 
-OBSOLETED_BY_CSWlibffi5 = CSWlibffi
-OBSOLETED_BY_CSWlibffi5-dev = CSWlibffi
-INCOMPATIBLE_PKGS_CSWlibffi5 = CSWlibffi
 
-PACKAGES += CSWlibffi5
-PKGFILES_CSWlibffi5 += $(call baseisadirs,$(libdir),libffi\.so\.5(\.\d+)*)
-SPKG_DESC_CSWlibffi5 += $(DESCRIPTION), libffi.so.5
+PACKAGES += CSWlibffi6
+PKGFILES_CSWlibffi6 += $(call baseisadirs,$(libdir),libffi\.so\.6(\.\d+)*)
+SPKG_DESC_CSWlibffi6 += $(DESCRIPTION), libffi.so.6
 
+RUNTIME_DEP_PKGS_CSWlibffi6 += CSWlibgcc-s1
+
 PACKAGES += CSWlibffi-dev
 SPKG_DESC_CSWlibffi-dev = $(DESCRIPTION) - developer package
-RUNTIME_DEP_PKGS_CSWlibffi-dev += CSWlibffi5
+RUNTIME_DEP_PKGS_CSWlibffi-dev += CSWlibffi6
 
+
 LICENSE = LICENSE
 
-BUILD64_LIBS_ONLY = 1
-
+GARCOMPILER = GNU
 CONFIGURE_ARGS  = $(DIRPATHS)
 
-# Tests fail since they are written for gcc only
-# But they also fails on 64-bit even when using gcc
+# disabled because they need DejaGNU
 #TEST_TARGET = check
 TEST_TARGET =
 
@@ -72,7 +73,7 @@
 post-install-modulated:
 	rm $(DESTDIR)$(libdir)/libffi.so
 	ginstall -m 755 -d $(DESTDIR)$(libdir)/ffi
-	ln -s ../libffi.so.5.0.10 $(DESTDIR)$(libdir)/ffi/libffi.so
+	ln -s ../libffi.so.6.0.4 $(DESTDIR)$(libdir)/ffi/libffi.so
 	ginstall -d -m 755 $(DESTDIR)$(includedir)
 	# By default, libffi installer puts include files into a subdirectory under
 	# /opt/csw/lib, which makes the header files hard to find.  We're moving

Modified: csw/mgar/pkg/libffi/trunk/checksums
===================================================================
--- csw/mgar/pkg/libffi/trunk/checksums	2015-03-06 14:34:05 UTC (rev 24708)
+++ csw/mgar/pkg/libffi/trunk/checksums	2015-03-06 22:33:54 UTC (rev 24709)
@@ -1,5 +1 @@
-08153de5eadceb2e22ee24083d13dc4d  Makefile.in.patch
-76eebb10e449d11374c09661d448ca99  ffi64.c.patch
-c280f263ff0eab3248ea8abd9d0be21c  ffi_common.h.patch
-0e72bc1c6b8f797377f502e36b8df294  ffi_target.h.patch
-1f300a7a7f975d4046f51c3022fa5ff1  libffi-3.0.9.tar.gz
+83b89587607e3eb65c70d361f13bab43  libffi-3.2.1.tar.gz

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list