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

valholla at users.sourceforge.net valholla at users.sourceforge.net
Tue Mar 17 04:17:37 CET 2009


Revision: 3787
          http://gar.svn.sourceforge.net/gar/?rev=3787&view=rev
Author:   valholla
Date:     2009-03-17 03:17:37 +0000 (Tue, 17 Mar 2009)

Log Message:
-----------
checkin my changes to date

Modified Paths:
--------------
    csw/mgar/pkg/gcc4/trunk/files/configure_def.mk
    csw/mgar/pkg/gcc4/trunk/files/gar_override.mk
    csw/mgar/pkg/gcc4/trunk/files/package_def.mk
    csw/mgar/pkg/gcc4/trunk/files/pkg_scripts.mk

Modified: csw/mgar/pkg/gcc4/trunk/files/configure_def.mk
===================================================================
--- csw/mgar/pkg/gcc4/trunk/files/configure_def.mk	2009-03-17 03:08:18 UTC (rev 3786)
+++ csw/mgar/pkg/gcc4/trunk/files/configure_def.mk	2009-03-17 03:17:37 UTC (rev 3787)
@@ -1,23 +1,22 @@
 
-## Install everythong /opt/csw/gcc4 instead of /opt/csw
-prefix = /opt/csw/gcc4
 
-CONFIGURE_ARGS  = --prefix=$(prefix)
-CONFIGURE_ARGS += --exec-prefix=$(prefix)
-CONFIGURE_ARGS += --enable-libada
-CONFIGURE_ARGS += --enable-libssp
-CONFIGURE_ARGS += --enable-objc-gc
-CONFIGURE_ARGS += --enable-threads=posix
-CONFIGURE_ARGS += --enable-shared
-CONFIGURE_ARGS += --with-mpfr=/opt/csw
-CONFIGURE_ARGS += --with-gmp=/opt/csw
+CONFIGURE_ARGS  = --prefix=/opt/csw/gcc4
+CONFIGURE_ARGS += --exec-prefix=/opt/csw/gcc4
 CONFIGURE_ARGS += --with-gnu-as
 CONFIGURE_ARGS += --with-as=/opt/csw/bin/gas
 CONFIGURE_ARGS += --without-gnu-ld
 CONFIGURE_ARGS += --with-ld=/usr/ccs/bin/ld
-CONFIGURE_ARGS += --with-build-time-tools=/opt/csw/bin
-## Do not try to build Ada
-## Ada must be build with using GCC because the source uses some Ada Code
-## Checkout gcc4ada* packages from svn if you wish to build Ada
+CONFIGURE_ARGS += --enable-nls
+CONFIGURE_ARGS += --with-included-gettext
+CONFIGURE_ARGS += --with-libiconv-prefix=/opt/csw
+CONFIGURE_ARGS += --with-x
+CONFIGURE_ARGS += --with-mpfr=/opt/csw
+CONFIGURE_ARGS += --with-gmp=/opt/csw
+CONFIGURE_ARGS += --enable-java-awt=xlib
+CONFIGURE_ARGS += --enable-libada
+CONFIGURE_ARGS += --enable-libssp
+CONFIGURE_ARGS += --enable-objc-gc
+CONFIGURE_ARGS += --enable-threads=posix
+CONFIGURE_ARGS += --enable-stage1-languages=c
 CONFIGURE_ARGS += --enable-languages=c,c++,fortran,java,objc
 

Modified: csw/mgar/pkg/gcc4/trunk/files/gar_override.mk
===================================================================
--- csw/mgar/pkg/gcc4/trunk/files/gar_override.mk	2009-03-17 03:08:18 UTC (rev 3786)
+++ csw/mgar/pkg/gcc4/trunk/files/gar_override.mk	2009-03-17 03:17:37 UTC (rev 3787)
@@ -1,26 +1,43 @@
 
+OBJECT_DIR = $(WORKDIR)/objdir
+WORKSRC = $(OBJECT_DIR)
+DIRPATHS = 
+OPTFLAGS =
 
-WORKDIR       = $(WORKROOTDIR)/build-$(MODULATION)-$(GAROSREL)
-COOKIEDIR     = $(COOKIEROOTDIR)/$(MODULATION)-$(GAROSREL)
-INSTALLISADIR = $(WORKROOTDIR)/install-$(MODULATION)-$(GAROSREL)
-OBJECT_DIR    = $(WORKDIR)/$(DISTNAME)/objdir
-WORKSRC       = $(OBJECT_DIR)
-DIRPATHS      =
-OPTFLAGS      =
-CONFIG_SHELL  = /opt/csw/bin/bash
-
-
+CONFIG_SHELL = /bin/ksh
+GARCOMPILER = SOS11
+SOS11_CC = /opt/studio/SOS11/SUNWspro/bin/cc -xO3 -xarch=v8
+CFLAGS = -I/opt/csw/include
 CPPFLAGS = -I/opt/csw/include
-CFLAGS   = -I/opt/csw/include
 CXXFLAGS = -I/opt/csw/include
-LDFLAGS  = -L/opt/csw/lib -R/opt/csw/lib/\\\\\\\$\$ISALIST -R/opt/csw/lib
-BOOT_CFLAGS  = $(CFLAGS) -g -O2
-BOOT_LDFLAGS = $(LDFLAGS)
+LDFLAGS  = -L/opt/csw/lib -R/opt/csw/lib
+BOOT_CFLAGS = -I/opt/csw/include -mcpu=v8 -g -O2 -pipe
+BOOT_LDFLAGS  = -L/opt/csw/lib -R/opt/csw/lib
 
-COMMON_EXPORTS += CONFIG_SHELL BOOT_CFLAGS BOOT_LDFLAGS
+ifeq ($(shell uname -p),i386)
+ifeq ($(shell uname -r),5.10)
+    GARCOMPILER = SOS12
+    SOS12_CC = /opt/studio/SOS12/SUNWspro/bin/cc
+    CFLAGS = -I/opt/csw/include -m64 -xarch=sse2
+    LDFLAGS  = -L/opt/csw/lib/64 -R/opt/csw/lib
+    BOOT_CFLAGS = -I/opt/csw/include -m64 -march=opteron -g -O2 -pipe
+    BOOT_LDFLAGS  = -L/opt/csw/lib/64 -R/opt/csw/lib/64
+else
+    GARCOMPILER = SOS11
+    SOS11_CC = /opt/studio/SOS11/SUNWspro/bin/cc
+    CFLAGS = -I/opt/csw/include -xO3 -xarch=386
+    LDFLAGS  = -L/opt/csw/lib -R/opt/csw/lib
+    BOOT_CFLAGS = -I/opt/csw/include -m32 -march=i386 -g -O2 -pipe
+    BOOT_LDFLAGS  = -L/opt/csw/lib -R/opt/csw/lib
+endif
+endif
 
+export CONFIG_SHELL CFLAGS CPPFLAGS CXXFLAGS
+export LDFLAGS BOOT_CFLAGS BOOT_LDFLAGS
+
 CONFIGURE_SCRIPTS = objdir
 TEST_SCRIPTS = skip
+post-configure-modulated: fix-bootflags
 
 ## Run checkpkg Manually
 ENABLE_CHECK = 0

Modified: csw/mgar/pkg/gcc4/trunk/files/package_def.mk
===================================================================
--- csw/mgar/pkg/gcc4/trunk/files/package_def.mk	2009-03-17 03:08:18 UTC (rev 3786)
+++ csw/mgar/pkg/gcc4/trunk/files/package_def.mk	2009-03-17 03:17:37 UTC (rev 3787)
@@ -1,121 +1,130 @@
 
 ###  Package Section  ###
 PACKAGES  = CSWgcc4core CSWgcc4corert CSWgcc4docs
-PACKAGES += CSWgcc4g95 CSWgcc4g95rt CSWgcc4java CSWgcc4javart 
+PACKAGES += CSWgcc4gfortran CSWgcc4gfortranrt CSWgcc4java CSWgcc4javart 
 PACKAGES += CSWgcc4objc CSWgcc4objcrt CSWgcc4g++ CSWgcc4g++rt
 
 ## Define Package Catalog Names
-CATALOGNAME_CSWgcc4core   = gcc4core
+CATALOGNAME_CSWgcc4core = gcc4core
 CATALOGNAME_CSWgcc4corert = gcc4corert
-CATALOGNAME_CSWgcc4core   = gcc4coredocs
-CATALOGNAME_CSWgcc4g++    = gcc4g++
-CATALOGNAME_CSWgcc4g++rt  = gcc4g++rt
-CATALOGNAME_CSWgcc4g95    = gcc4g95
-CATALOGNAME_CSWgcc4g95rt  = gcc4g95rt
-CATALOGNAME_CSWgcc4java   = gcc4java
+CATALOGNAME_CSWgcc4core = gcc4coredocs
+CATALOGNAME_CSWgcc4g++ = gcc4g++
+CATALOGNAME_CSWgcc4g++rt = gcc4g++rt
+CATALOGNAME_CSWgcc4gfortran = gcc4gfortran
+CATALOGNAME_CSWgcc4gfortranrt = gcc4gfortranrt
+CATALOGNAME_CSWgcc4java = gcc4java
 CATALOGNAME_CSWgcc4javart = gcc4javart
-CATALOGNAME_CSWgcc4objc   = gcc4objc
+CATALOGNAME_CSWgcc4objc = gcc4objc
 CATALOGNAME_CSWgcc4objcrt = gcc4obcrt
 
 ## Define Package Descriptions
-SPKG_DESC_CSWgcc4core     = GNU C Compiler
-SPKG_DESC_CSWgcc4corert   = GNU C Compiler Run Time
+SPKG_DESC_CSWgcc4core = GNU C Compiler
+SPKG_DESC_CSWgcc4corert = GNU C Compiler Run Time
 SPKG_DESC_CSWgcc4coredocs = GNU C Compiler Documtation and man pages
-SPKG_DESC_CSWgcc4g++      = GNU C++ Compiler
-SPKG_DESC_CSWgcc4g++rt    = GNU C++ Compiler Run Time
-SPKG_DESC_CSWgcc4g95      = GNU Fortran Compiler
-SPKG_DESC_CSWgcc4g95rt    = GNU Fortran Compiler Run Time
-SPKG_DESC_CSWgcc4java     = GNU Java Compiler
-SPKG_DESC_CSWgcc4javart   = GNU Java Compiler Run Time
-SPKG_DESC_CSWgcc4objc     = GNU Objective C Compiler
-SPKG_DESC_CSWgcc4objcrt   = GNU Objective C Compiler Run Time
+SPKG_DESC_CSWgcc4g++ = GNU C++ Compiler
+SPKG_DESC_CSWgcc4g++rt = GNU C++ Compiler Run Time
+SPKG_DESC_CSWgcc4gfortran = GNU Fortran Compiler
+SPKG_DESC_CSWgcc4gfortranrt = GNU Fortran Compiler Run Time
+SPKG_DESC_CSWgcc4java = GNU Java Compiler
+SPKG_DESC_CSWgcc4javart = GNU Java Compiler Run Time
+SPKG_DESC_CSWgcc4objc = GNU Objective C Compiler
+SPKG_DESC_CSWgcc4objcrt = GNU Objective C Compiler Run Time
 
 ## Define Dependencies 
 REQUIRED_PKGS_CSWgcc4corert = CSWggettextrt CSWiconv CSWlibgmp CSWlibmpfr
-REQUIRED_PKGS_CSWgcc4core   = CSWgcc4corert
-REQUIRED_PKGS_CSWgcc4g++rt  = CSWgcc4core
-REQUIRED_PKGS_CSWgcc4g++    = CSWgcc4g++rt
-REQUIRED_PKGS_CSWgcc4g95rt  = CSWgcc4core
-REQUIRED_PKGS_CSWgcc4g95    = CSWgcc4g95rt
+REQUIRED_PKGS_CSWgcc4core = CSWgcc4corert
+REQUIRED_PKGS_CSWgcc4g++rt = CSWgcc4core
+REQUIRED_PKGS_CSWgcc4g++ = CSWgcc4g++rt
+REQUIRED_PKGS_CSWgcc4gfortranrt = CSWgcc4core
+REQUIRED_PKGS_CSWgcc4gfortran95 = CSWgcc4gfortranrt
 REQUIRED_PKGS_CSWgcc4javart = CSWgcc4core
-REQUIRED_PKGS_CSWgcc4java   = CSWgcc4javart
+REQUIRED_PKGS_CSWgcc4java = CSWgcc4javart
 REQUIRED_PKGS_CSWgcc4objcrt = CSWgcc4core
-REQUIRED_PKGS_CSWgcc4objc   = CSWgcc4objcrt
+REQUIRED_PKGS_CSWgcc4objc = CSWgcc4objcrt
 
+PKG_DIR = /opt/csw/gcc4
 ## Define the Contents of the Packages
 ## GNU Compiler Suite Docs
-PKGFILES_CSWgcc4docs  = $(datadir)/doc/.*
-PKGFILES_CSWgcc4docs += $(mandir)/.*
-PKGFILES_CSWgcc4docs += $(infodir)/.*
+PKGFILES_CSWgcc4docs += $(PKG_DIR)/man/.*
+PKGFILES_CSWgcc4docs += $(PKG_DIR)/info/.*
 
 ## gcc4objc Definitions
-PKGFILES_CSWgcc4objc  = $(libexecdir)/.*/cc1obj
-PKGFILES_CSWgcc4objc += $(libdir)/.*/objc/.*
-PKGFILES_CSWgcc4objc += $(libdir)/.*/gcj/libgcj.*
+PKGFILES_CSWgcc4objc  = /opt/csw/share/doc/gcc4objc/license
+PKGFILES_CSWgcc4objc += $(PKG_DIR)/libexec/.*/cc1obj
+PKGFILES_CSWgcc4objc += $(PKG_DIR)/lib/.*/objc/.*
+PKGFILES_CSWgcc4objc += $(PKG_DIR)/lib/.*/gcj/libgcj.*
 ## gcc4objc Runtime
-PKGFILES_CSWgcc4objcrt  = $(libdir)/.*libobjc.*
+PKGFILES_CSWgcc4objcrt  = /opt/csw/share/doc/gcc4objcrt/license
+PKGFILES_CSWgcc4objcrt += $(PKG_DIR)/lib/.*libobjc.*
 
 ## gcc4java Definitions
-PKGFILES_CSWgcc4java   = $(datadir)/java.*
-PKGFILES_CSWgcc4java  += $(libexecdir)/.*/jvgenmain
-PKGFILES_CSWgcc4java  += $(libexecdir)/.*/jc1
-PKGFILES_CSWgcc4java  += $(libdir)/pkgconfig/libgcj.pc
-PKGFILES_CSWgcc4java  += $(includedir)/.*/ffi.h
-PKGFILES_CSWgcc4java  += $(includedir)/.*/org/.*
-PKGFILES_CSWgcc4java  += $(includedir)/.*/java.*/.*
-PKGFILES_CSWgcc4java  += $(includedir)/.*/gcj/.*
-PKGFILES_CSWgcc4java  += $(includedir)/.*/classpath/.*
-PKGFILES_CSWgcc4java  += $(includedir)/.*/awt/.*
-PKGFILES_CSWgcc4java  += $(includedir)/.*/gnu/.*
-PKGFILES_CSWgcc4java  += $(bindir)/.*gcj.*
-PKGFILES_CSWgcc4java  += $(bindir)/jv-scan
-PKGFILES_CSWgcc4java  += $(bindir)/jv-convert
-PKGFILES_CSWgcc4java  += $(bindir)/jcf-dump
-PKGFILES_CSWgcc4java  += $(bindir)/grmi.*
-PKGFILES_CSWgcc4java  += $(bindir)/grepjar
-PKGFILES_CSWgcc4java  += $(bindir)/gjnih
-PKGFILES_CSWgcc4java  += $(bindir)/gij
-PKGFILES_CSWgcc4java  += $(bindir)/fastjar
-PKGFILES_CSWgcc4java  += $(bindir)/gjar.*
-PKGFILES_CSWgcc4java  += $(bindir)/gjavah
-PKGFILES_CSWgcc4java  += $(bindir)/gorbd
-PKGFILES_CSWgcc4java  += $(bindir)/addr2name.awk
-PKGFILES_CSWgcc4java  += $(bindir)/gappletviewer
-PKGFILES_CSWgcc4java  += $(bindir)/gkeytool
-PKGFILES_CSWgcc4java  += $(bindir)/gserialver
-PKGFILES_CSWgcc4java  += $(bindir)/gtnameserv
-PKGFILES_CSWgcc4java  += $(bindir)/gnative2ascii
-PKGFILES_CSWgcc4java  += $(bindir)/gc-analyze
+PKGFILES_CSWgcc4java  = /opt/csw/share/doc/gcc4java/license
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/share/java.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/libexec/.*/jvgenmain
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/libexec/.*/jc1
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/lib/pkgconfig/libgcj.pc
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/include/.*/ffi.h
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/include/.*/org/.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/include/.*/java.*/.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/include/.*/gcj/.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/include/.*/classpath/.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/include/.*/awt/.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/include/.*/gnu/.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/.*gcj.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/jv-scan
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/jv-convert
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/jcf-dump
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/grmi.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/grepjar
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gjnih
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gij
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/fastjar
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gjar.*
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gjavah
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gorbd
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/addr2name.awk
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gappletviewer
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gkeytool
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gserialver
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gtnameserv
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gnative2ascii
+PKGFILES_CSWgcc4java  += $(PKG_DIR)/bin/gc-analyze
 ## gcc4java RunTime
-PKGFILES_CSWgcc4javart  = $(datadir)/java/.*
-PKGFILES_CSWgcc4javart += $(libdir)/.*libgij.*
-PKGFILES_CSWgcc4javart += $(libdir)/.*libffi.*
-PKGFILES_CSWgcc4javart += $(libdir)/.*lib-gnu-awt.*
-PKGFILES_CSWgcc4javart += $(libdir)/security/libgcj.*
-PKGFILES_CSWgcc4javart += $(libdir)/security/classpath.*
-PKGFILES_CSWgcc4javart += $(libdir)/logging.properties
-PKGFILES_CSWgcc4javart += $(libdir)/gcj.*/classmap.db
+PKGFILES_CSWgcc4javart = /opt/csw/share/doc/gcc4javart/license
+PKGFILES_CSWgcc4javart += $(PKG_DIR)/share/java/.*
+PKGFILES_CSWgcc4javart += $(PKG_DIR)/lib/.*libgij.*
+PKGFILES_CSWgcc4javart += $(PKG_DIR)/lib/.*libffi.*
+PKGFILES_CSWgcc4javart += $(PKG_DIR)/lib/.*lib-gnu-awt.*
+PKGFILES_CSWgcc4javart += $(PKG_DIR)/lib/security/libgcj.*
+PKGFILES_CSWgcc4javart += $(PKG_DIR)/lib/security/classpath.*
+PKGFILES_CSWgcc4javart += $(PKG_DIR)/lib/logging.properties
+PKGFILES_CSWgcc4javart += $(PKG_DIR)/lib/gcj.*/classmap.db
 
-## gcc4g95 Definitions
-PKGFILES_CSWgcc4g95   = $(libexecdir)/.*/f951
-PKGFILES_CSWgcc4g95  += $(bindir)/.*gfortran
-## gcc4g95 RunTime
-PKGFILES_CSWgcc4g95rt = $(libdir)/.*libgfortran.*
+## gcc4gfortran Definitions
+PKGFILES_CSWgcc4gfortran = /opt/csw/share/doc/gcc4gfortran/license
+PKGFILES_CSWgcc4gfortran  += $(PKG_DIR)/lib/.*/f951
+PKGFILES_CSWgcc4gfortran  += $(PKG_DIR)/lib/.*gfortran
+## gcc4gfortran RunTime
+PKGFILES_CSWgcc4gfortranrt = /opt/csw/share/doc/gcc4gfortranrt/license
+PKGFILES_CSWgcc4gfortranrt = $(PKG_DIR)/lib/.*libgfortran.*
 
 ## gcc4g++ Definitions
-PKGFILES_CSWgcc4g++  = $(libexecdir)/.*/cc1plus
-PKGFILES_CSWgcc4g++ += $(includedir)/c\+\+/.*
-PKGFILES_CSWgcc4g++ += $(bindir)/.*g\+\+
-PKGFILES_CSWgcc4g++ += $(bindir)/.*c\+\+
-EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(includedir)/.*/org/.*
-EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(includedir)/.*/java.*/.*
-EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(includedir)/.*/gcj/.*
-EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(includedir)/.*/classpath/.*
-EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(includedir)/.*/awt/.*
-EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(includedir)/.*/gnu/.*
+PKGFILES_CSWgcc4g++ = /opt/csw/share/doc/gcc4g++/license
+PKGFILES_CSWgcc4g++ += $(PKG_DIR)/libexec/.*/cc1plus
+PKGFILES_CSWgcc4g++ += $(PKG_DIR)/include/c++/.*
+PKGFILES_CSWgcc4g++ += $(PKG_DIR)/bin/.*g++
+PKGFILES_CSWgcc4g++ += $(PKG_DIR)/bin/.*c++
+EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(PKG_DIR)/include/.*/org/.*
+EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(PKG_DIR)/include/.*/java.*/.*
+EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(PKG_DIR)/include/.*/gcj/.*
+EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(PKG_DIR)/include/.*/classpath/.*
+EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(PKG_DIR)/include/.*/awt/.*
+EXTRA_PKGFILES_EXCLUDED_CSWgcc4g++ += $(PKG_DIR)/include/.*/gnu/.*
 ## gcc4g++ RunTime
-PKGFILES_CSWgcc4g++rt  = $(libdir)/.*libstdc.*
+PKGFILES_CSWgcc4g++rt = /opt/csw/share/doc/gcc4g++rt/license
+PKGFILES_CSWgcc4g++rt += $(PKG_DIR)/lib/.*libstdc.*
 
 ## gcc4core RunTime
-PKGFILES_CSWgcc4corert = $(libdir)/.*libgcc_s.*
+PKGFILES_CSWgcc4corert = /opt/csw/share/doc/gcc4corert/license
+PKGFILES_CSWgcc4corert = $(PKG_DIR)/lib/.*libgcc_s.*
 

Modified: csw/mgar/pkg/gcc4/trunk/files/pkg_scripts.mk
===================================================================
--- csw/mgar/pkg/gcc4/trunk/files/pkg_scripts.mk	2009-03-17 03:08:18 UTC (rev 3786)
+++ csw/mgar/pkg/gcc4/trunk/files/pkg_scripts.mk	2009-03-17 03:17:37 UTC (rev 3787)
@@ -1,4 +1,5 @@
 
+
 ## Create $(OBJECT_DIR) to build in
 post-extract-$(addprefix post-extract-,$(MODULATIONS)):
 	echo "==> Creating Object Dir for Building"
@@ -9,9 +10,18 @@
 ## Run it from the $(OBJECT_DIR)
 configure-objdir:
 	echo "==> Running Configure from $(OBJECT_DIR)"
-	cd $(OBJECT_DIR) && $(CONFIGURE_ENV) ../configure $(CONFIGURE_ARGS)
+	cd $(OBJECT_DIR) && $(CONFIGURE_ENV) \
+		../$(DISTNAME)/configure $(CONFIGURE_ARGS)
 	$(DONADA)
 
+## Set the CFLAGS so the correct architecture is used
+fix-bootflags:
+	@(perl -i -plne "s|^BOOT_CFLAGS.*|BOOT_CFLAGS= $(BOOT_CFLAGS)|" \
+		$(WORKSRC)/Makefile)
+	@(perl -i -plne "s|^BOOT_LDFLAGS.*|BOOT_LDFLAGS= $(BOOT_LDFLAGS)|" \
+		$(WORKSRC)/Makefile)
+	@$(DONADA)
+
 test-skip:
-	$(DONADA)
+	@$(DONADA)
 


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