updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / aster-mpi / aster-9.4.0.diff
blob0388cf5ca7d4de409c4d01d2fa3b9c14f453c7f0
1 diff -Naur aster-full-src-9.4.0.orig/as_setup.py aster-full-src-9.4.0/as_setup.py
2 --- aster-full-src-9.4.0.orig/as_setup.py 2009-01-24 15:42:58.217732311 +0100
3 +++ aster-full-src-9.4.0/as_setup.py 2009-01-24 17:39:08.413699729 +0100
4 @@ -424,6 +424,10 @@
5 traceback.print_exc()
6 self.exit_code=iret
7 raise SetupExtractError, _('error during extracting archive %s') % archive
8 + # Archlinux patch - thanks to Freebsd port
9 + self._print('Handle gfortran C-like pre-processor directives')
10 + os.rename(os.path.join(self.content, 'bibf90/utilitai/traceb.f'), os.path.join(self.content, 'bibf90/utilitai/traceb.F'))
11 + # End of Archlinux patch
13 if iextr_as:
14 iret=0
15 diff -Naur aster-full-src-9.4.0.orig/products.py aster-full-src-9.4.0/products.py
16 --- aster-full-src-9.4.0.orig/products.py 2009-01-24 15:42:59.111592874 +0100
17 +++ aster-full-src-9.4.0/products.py 2009-01-24 17:40:32.153691440 +0100
18 @@ -1115,12 +1115,12 @@
20 # ----- SCOTCH
21 if cfg['HOME_SCOTCH']<>'':
22 - for lib in ('common', 'scotch', 'scotcherr', 'scotcherrcom'):
23 + for lib in ('common', 'scotch', 'scotcherr', 'scotcherrexit'):
24 ftools.findlib_and_set(cfg, 'SCOTCHLIB', lib,
25 cfg['HOME_SCOTCH'],
26 err=True, append=True)
27 if lib == 'common':
28 - ftools.CheckFromLastFound(cfg, 'HOME_SCOTCH', 'bin')
29 + ftools.CheckFromLastFound(cfg, 'HOME_SCOTCH', 'lib')
30 ftools.find_and_set(cfg, 'CINCLUDE', 'scotchf.h',
31 cfg['HOME_SCOTCH'],
32 typ='inc', err=True, append=True)