Upgrade Code_Aster to 9.2.0-2.

This commit is contained in:
Thierry Thomas
2008-01-12 16:28:40 +00:00
parent 954a4584c9
commit 1da404b164
7 changed files with 473 additions and 94 deletions
+15 -6
View File
@@ -7,11 +7,10 @@
PORTNAME= aster
DISTVERSIONPREFIX= full-src-
DISTVERSION= 9.1.0-1
DISTVERSION= 9.2.0-2
DISTVERSIONSUFFIX= .noarch
PORTREVISION= 1
CATEGORIES= french cad python
MASTER_SITES= http://www.code-aster.org/FICHIERS/
CATEGORIES= french cad
MASTER_SITES= http://www.code-aster.org/V2/IMG/gz/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Code_Aster finite element method solver
@@ -72,6 +71,8 @@ FFLAGARCH=
FLAGARCH= -DLINUX64
FFLAGARCH= -fdefault-integer-8 -fdefault-real-8
.endif
# Avoid renaming .f into .F
#F90FLAGS= -x f77-cpp-input ${FFLAGS}
.if ${OSVERSION} < 600022
BROKEN= Does not compile on this version, and cannot be patched easily.
@@ -182,9 +183,17 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/emacs:${PORTSDIR}/editors/emacs
. elif exists(${LOCALBASE}/bin/xemacs)
WITH_ED= xemacs
RUN_DEPENDS+= ${LOCALBASE}/bin/xemacs:${PORTSDIR}/editors/xemacs
. else
. elif exists(${LOCALBASE}/bin/gedit)
WITH_ED= gedit
RUN_DEPENDS+= ${LOCALBASE}/bin/gedit:${PORTSDIR}/editors/gedit
. elif exists(${LOCALBASE}/bin/kwrite)
WITH_ED= kwrite
RUN_DEPENDS+= ${X11BASE}/bin/kwrite:${PORTSDIR}/x11/kdebase3
. elif exists(${LOCALBASE}/bin/xedit)
WITH_ED= xedit
RUN_DEPENDS+= ${X11BASE}/bin/xedit:${X_CLIENTS_PORT}
RUN_DEPENDS+= ${X11BASE}/bin/xedit:${PORTSDIR}/x11/xedit
. else
WITH_ED= vi
. endif
.endif
+3 -3
View File
@@ -1,3 +1,3 @@
MD5 (aster-full-src-9.1.0-1.noarch.tar.gz) = c67b60984e6af9f2d8654882abd00549
SHA256 (aster-full-src-9.1.0-1.noarch.tar.gz) = b2daeabcc28047f82f9f922a003e396b97bb0215fa78d3f4eaf4587823e5276b
SIZE (aster-full-src-9.1.0-1.noarch.tar.gz) = 144373563
MD5 (aster-full-src-9.2.0-2.noarch.tar.gz) = b0e3de37a3ce0f2c843855c9a5eef7ca
SHA256 (aster-full-src-9.2.0-2.noarch.tar.gz) = fc43b758681ffb0dd7cfdbe30e92f9b840f0394732c11b815b0170bd38d48ec6
SIZE (aster-full-src-9.2.0-2.noarch.tar.gz) = 117727246
+14 -3
View File
@@ -1,6 +1,17 @@
--- as_setup.py.orig Wed Jun 28 18:04:25 2006
+++ as_setup.py Sun Sep 24 12:23:18 2006
@@ -1170,7 +1170,10 @@
--- as_setup.py.orig 2007-12-21 17:08:17.000000000 +0100
+++ as_setup.py 2008-01-08 22:32:14.000000000 +0100
@@ -397,6 +397,10 @@
traceback.print_exc()
self.exit_code=iret
raise SetupExtractError, _('error during extracting archive %s') % archive
+ # Insert FreeBSD patches here
+ self._print('Handle gfortran C-like pre-processor directives')
+ os.rename(os.path.join(self.content, 'bibf90/utilitai/traceb.f'), os.path.join(self.content, 'bibf90/utilitai/traceb.F'))
+ # End of FreeBSD patches
if iextr_as:
iret=0
@@ -1216,7 +1220,10 @@
from socket import gethostname, gethostbyaddr
if host==None:
host = gethostname()
+8 -8
View File
@@ -1,6 +1,6 @@
--- products.py.orig Tue Jan 2 17:13:15 2007
+++ products.py Fri Feb 2 23:13:35 2007
@@ -833,16 +833,18 @@
--- products.py.orig 2007-12-21 17:08:17.000000000 +0100
+++ products.py 2008-01-08 14:20:12.000000000 +0100
@@ -863,16 +863,18 @@
'HOME_PYTHON', 'PYTHON_EXE', 'PYTHONLIB', 'PYMODULES_PREFIX',
'HOME_MUMPS', 'HOME_ZMAT', 'HOME_MPI',
'HOME_MED', 'HOME_HDF', 'HOME_CRPCRS',
@@ -25,7 +25,7 @@
'NOBUILD', ],
)
cfg['ENV_SH'] = cfg.get('ENV_SH', '')
@@ -885,6 +887,18 @@
@@ -911,6 +913,18 @@
cxxlibs.extend(['stdc++', 'supc++'])
zmat_platform='Linux'
mpilibs.extend(['mpich'])
@@ -44,7 +44,7 @@
elif cfg['IFDEF'] == 'LINUX64':
opt['MATH_LIST'] = ['lapack', 'blas', 'g2c']
opt['SYSLIB'] = '-Wl,--allow-multiple-definition -Wl,--export-dynamic -lieee -ldl -lpthread -lutil -lm'
@@ -939,8 +953,8 @@
@@ -965,8 +979,8 @@
opt['FINCLUDE'] = ''
# ----- F90
@@ -55,7 +55,7 @@
opt['F90INCLUDE']=''
# ----- check for MED and HDF5 libraries, and HDF5 includes
@@ -973,11 +987,14 @@
@@ -999,11 +1013,14 @@
# ----- MUMPS
if cfg['HOME_MUMPS'] != '':
@@ -72,10 +72,10 @@
+ kargs['libdirs'], cfg['HOME_MUMPS'],
+ err=False, append=True)
+ ftools.CheckFromLastFound(cfg, 'HOME_MUMPS', 'lib')
opt['F90INCLUDE'] += ' -I%s' % os.path.join(cfg['ASTER_ROOT'],cfg['ASTER_VERSION'],'bibf90','include_mumps')
opt['F90INCLUDE'] += ' -I%s' % os.path.join(cfg['ASTER_ROOT'],cfg['ASTER_VERSION'],'bibf90',cfg['INCLUDE_MUMPS'])
else:
opt['MUMPSLIB'] = ''
@@ -1033,7 +1050,7 @@
@@ -1059,7 +1076,7 @@
ftools.findlib_and_set(cfg, 'SCOTCHLIB', lib,
kargs['libdirs'], cfg['HOME_SCOTCH'],
err=True, append=True)
+20 -7
View File
@@ -1,11 +1,24 @@
--- setup.cfg.orig Wed Jan 5 13:43:56 2005
+++ setup.cfg Sun Jan 16 14:45:27 2005
@@ -16,7 +16,7 @@
# C and Fortran compilers and linker for Code_Aster
--- setup.cfg.orig 2007-12-21 17:08:17.000000000 +0100
+++ setup.cfg 2008-01-08 14:30:05.000000000 +0100
@@ -28,7 +28,7 @@
# classical values for GNU compilers
CC='/usr/bin/gcc'
F77='/usr/bin/g77'
-LD='/usr/bin/g77'
-LD=F77
+LD='/usr/bin/gcc'
# Uncomment (remove first # character) the two following lines
# to skip tcl/tk installation
# not use by Code_Aster but by med for example...
CXX='/usr/bin/g++'
@@ -136,9 +136,9 @@
#-------------------------------------------------------------------------------
# Future packages : not yet used by Code_Aster !
-_install_omniORB = True
-_install_omniORBpy = True
-_install_pylotage = True
+_install_omniORB = False
+_install_omniORBpy = False
+_install_pylotage = False
# Salome version supported by pylotage
SALOME_VERSION = 'DEFAULT' # DEFAULT means the last one supported by pylotage
+11 -3
View File
@@ -1,6 +1,6 @@
--- setup.py.orig Fri Dec 22 17:56:58 2006
+++ setup.py Sun Dec 24 11:00:55 2006
@@ -278,6 +278,8 @@
--- setup.py.orig 2007-12-21 17:08:17.000000000 +0100
+++ setup.py 2008-01-08 14:56:44.000000000 +0100
@@ -286,6 +286,8 @@
cfg['IFDEF'] = 'LINUX64'
else:
cfg['IFDEF'] = 'LINUX'
@@ -9,3 +9,11 @@
elif sys.platform[:4] == 'osf1':
cfg['IFDEF']='TRU64'
elif sys.platform == 'sunos5':
@@ -397,6 +399,7 @@
# and modify command line of those which don't have a --display= option
ListEdit=[
['nedit' , 'nedit',],
+ ['gvim' , 'gvim --display=@D',],
['gedit' , 'gedit --display=@D',],
['kwrite', 'kwrite --display @D',],
['xemacs', 'xemacs -display @D',],
+402 -64
View File
File diff suppressed because it is too large Load Diff