[csw-devel] SF.net SVN: gar:[9475] csw/mgar/pkg/libffi/trunk/Makefile

hson at users.sourceforge.net hson at users.sourceforge.net
Tue Mar 30 19:33:11 CEST 2010


Revision: 9475
          http://gar.svn.sourceforge.net/gar/?rev=9475&view=rev
Author:   hson
Date:     2010-03-30 17:33:11 +0000 (Tue, 30 Mar 2010)

Log Message:
-----------
libffi: Switch to gcc due to problems on amd64

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

Modified: csw/mgar/pkg/libffi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libffi/trunk/Makefile	2010-03-30 17:32:05 UTC (rev 9474)
+++ csw/mgar/pkg/libffi/trunk/Makefile	2010-03-30 17:33:11 UTC (rev 9475)
@@ -16,7 +16,8 @@
 MASTER_SITES = ftp://sourceware.org/pub/libffi/
 SPKG_SOURCEURL = http://sourceware.org/libffi/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
-PATCHFILES = sun.patch
+# Not needed unless using SOS12 compiler
+#PATCHFILES = sun.patch
 
 PACKAGES = CSWlibffi CSWlibffidevel
 CATALOGNAME_CSWlibffi = libffi
@@ -29,16 +30,19 @@
 LICENSE = LICENSE
 
 RUNTIME_DEP_PKGS_CSWlibffidevel += CSWlibffi
-#RUNTIME_DEP_PKGS_CSWlibffi = CSWgcc4corert
+RUNTIME_DEP_PKGS_CSWlibffi = CSWgcc4corert
 
+CHECKPKG_OVERRIDES_CSWlibffidevel += surplus-dependency|CSWlibffi
+
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-GARCOMPILER = SOS12
+GARCOMPILER = GCC4
 BUILD64 = 1
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 
-# Tests fail since they are written for gcc only
+# Tests fail since they are written for gcc only if using SOS12 compiler
+# But they also fails on 64-bit
 #TEST_TARGET = check
 TEST_TARGET = 
 
@@ -56,3 +60,4 @@
 	@( cd $(WORKSRC); gsed -e "s|src/sparc/v8.S||" -e "s/AM_CFLAGS = .*/AM_CFLAGS = /" -i Makefile.am ; \
 		aclocal; \
 		automake)
+	$(MAKECOOKIE)


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