[csw-devel] SF.net SVN: gar:[10945] csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile

gadavis at users.sourceforge.net gadavis at users.sourceforge.net
Fri Sep 10 08:22:52 CEST 2010


Revision: 10945
          http://gar.svn.sourceforge.net/gar/?rev=10945&view=rev
Author:   gadavis
Date:     2010-09-10 06:22:52 +0000 (Fri, 10 Sep 2010)

Log Message:
-----------
Add runtime deps, readd -mcpu=v8 to archflags to prevent v8+ build

Modified Paths:
--------------
    csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile

Modified: csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile
===================================================================
--- csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile	2010-09-10 05:22:55 UTC (rev 10944)
+++ csw/mgar/pkg/netcdf/branches/gar-fortran/Makefile	2010-09-10 06:22:52 UTC (rev 10945)
@@ -11,8 +11,10 @@
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 LICENSE = COPYRIGHT
-RUNTIME_DEP_PKGS = CSWcurlrt CSWhdf5rt CSWgcc4gfortranrt
-BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS) CSWautoconf CSWautomake CSWtetex CSWgcc4gfortran
+RUNTIME_DEP_PKGS = CSWcurlrt CSWhdf5rt CSWgcc4gfortranrt CSWzlib CSWgcc4corert \
+		   CSWoldaprt CSWlibcares CSWlibidn CSWgcc4g++rt CSWosslrt
+
+BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS) CSWtetex CSWgcc4gfortran
 ## CFLAGS AND LDFLAGS are necessary due to problems with the fortran bindings when
 ## building 64-bit
 BUILD_ARGS = CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" FFLAGS="$(FFLAGS)" FCFLAGS="$(FCFLAGS)"
@@ -31,7 +33,7 @@
 		 --with-zlib=/opt/csw
 
 ## 64 bit build fails in fortran binding tests
-BUILD64 = 0
+#BUILD64 = 0
 
 ## Needed for "Large file support" in NetCDF
 EXTRA_CPPFLAGS = -D_FILE_OFFSET_BITS=64
@@ -63,4 +65,4 @@
 ## about undefined symbol __sync_fetch_and_add_4 in libnetcdf_c++
 ## Per http://www.mail-archive.com/maintainers@lists.opencsw.org/msg06095.html
 ## replacing -march=v8 with -m32 seems to solve the problem
-ARCHFLAGS_GCC4_sparcv8 = -m32
+ARCHFLAGS_GCC4_sparcv8 = -m32 -mcpu=v8


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