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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Mar 28 12:09:30 CEST 2012


Revision: 17575
          http://gar.svn.sourceforge.net/gar/?rev=17575&view=rev
Author:   wahwah
Date:     2012-03-28 10:09:30 +0000 (Wed, 28 Mar 2012)
Log Message:
-----------
gcc4/trunk: Building on Solaris 10 only.

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

Modified: csw/mgar/pkg/gcc4/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gcc4/trunk/Makefile	2012-03-27 20:39:27 UTC (rev 17574)
+++ csw/mgar/pkg/gcc4/trunk/Makefile	2012-03-28 10:09:30 UTC (rev 17575)
@@ -19,9 +19,11 @@
 DISTFILES    = $(DISTNAME).tar.bz2
 MASTER_SITES = $(GNU_MIRROR)/$(NAME)-$(VERSION)/
 
-LIBOBJC = 3
+LIBOBJC = 4
 
-PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386
+# We're not building GCC-4.7 on Solaris 9, because GCC-4.7 requires the
+# sparcv8+ architecture.
+# PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386
 PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
 
 # GIT init takes a long time.
@@ -66,8 +68,8 @@
 CONFIGURE_ARGS += --enable-libssp
 CONFIGURE_ARGS += --enable-objc-gc
 CONFIGURE_ARGS += --enable-threads=posix 
-CONFIGURE_ARGS += --enable-languages=ada,c,c++,fortran,java,objc
-CONFIGURE_ARGS += --with-system-zlib=/opt/csw
+CONFIGURE_ARGS += --enable-languages=ada,c,c++,fortran,go,java,objc
+CONFIGURE_ARGS += --with-system-zlib=$(BUILD_PREFIX)
 
 # there could be some abstractions in gar.conf.mk, but at the moment there
 # aren't so let's specify architectures by hand.
@@ -113,7 +115,7 @@
 SKIPTEST ?= 1
 
 # Used multiple times in package definitions
-JAVA_LIB_VERSION = 12
+JAVA_LIB_VERSION = 13
 
 ALTERNATIVES_PRIO = 460
 
@@ -458,8 +460,8 @@
 RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibisl7
 RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibmpc2
 RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibmpfr4
-RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibobjc-gc3
-RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibobjc3
+RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibobjc-gc$(LIBOBJC)
+RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibobjc$(LIBOBJC)
 RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibppl-c4
 RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibppl9
 RUNTIME_DEP_PKGS_$(PKG_BASENAME)objc += CSWlibpwl5
@@ -514,6 +516,27 @@
 JAVA_BINARIES += gkeytool gnative2ascii gorbd grmic grmid grmregistry
 JAVA_BINARIES += gserialver gtnameserv jcf-dump jv-convert rebuild-gcj-db
 
+# GCC-4.7 contains assembler specific to sparcv9, incompatible with sparcv8.
+# If we wanted to build it on Solaris 9, we would have to add these overrides.
+# CHECKPKG_OVERRIDES_$(PKG_BASENAME)ada += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_$(PKG_BASENAME)core += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_$(PKG_BASENAME)g++ += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_$(PKG_BASENAME)gfortran += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_$(PKG_BASENAME)java += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_$(PKG_BASENAME)objc += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibffi4 += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibgcc-s1 += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibgcj$(JAVA_LIB_VERSION) += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibgcj-tools$(JAVA_LIB_VERSION) += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibgfortran3 += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibgij$(JAVA_LIB_VERSION) += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlib-gnu-awt-xlib$(JAVA_LIB_VERSION) += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibgomp1 += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibobjc$(LIBOBJC) += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibobjc-gc$(LIBOBJC) += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibssp0 += binary-architecture-does-not-match-placement
+# CHECKPKG_OVERRIDES_CSWlibstdc++6 += binary-architecture-does-not-match-placement
+
 include files/scripts.mk
 include gar/category.mk
 

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