Ticket #4233: Portfile.gcc3.3.g77.3.4

File Portfile.gcc3.3.g77.3.4, 1.0 KB (added by ben@…, 19 years ago)

gcc3 portfile, using patch from bug 3174

Line 
1# builds on 10.4, but fails with bus error on import scipy
2
3PortSystem 1.0
4PortGroup  python24 1.0
5
6name         py-scipy
7version      0.3.2
8revision                 3
9categories   python
10platforms    darwin
11description  An opensource library of scientific tools for Python
12maintainers  erickt@dslextreme.com
13
14homepage      http://www.scipy.org/
15master_sites  ${homepage}/download/scipy/src/
16distname      SciPy_complete-${version}
17
18checksums md5 5ae2280ab2c4c653cb0ff8479e81284a
19
20depends_lib    lib:gnuplot:gnuplot \
21               lib:fftw:fftw \
22               port:py-numeric \
23               port:py-f2py
24depends_build  bin:g77-dp-gcc34:gcc34
25
26use_configure  no
27patchfiles     patch-gnufcompiler.py
28
29worksrcdir       ${distname}
30build.env        CC="/usr/bin/gcc-3.3" \
31                 CXX="/usr/bin/g++-3.3" \
32                 LDFLAGS="-L/Library/Frameworks/Python.framework/Libraries -lpython -L/usr/include -L${prefix}/lib/gcc-3.4/gcc/powerpc-apple-darwin8.2.0/3.4.4 -lgcc" \
33                 CFLAGS="-I${prefix}/include/python2.4"
34
35build.post_args  config_fc --f77exec g77-dp-3.4