Changeset 3864 for trunk/dports


Ignore:
Timestamp:
Oct 30, 2003, 10:33:31 PM (20 years ago)
Author:
gwright
Message:

Updated for Panther. Still needs gcc-3.1 until the next release.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/ghc/Portfile

    r3296 r3864  
    1 # $Id: Portfile,v 1.1 2003/08/19 13:55:13 gwright Exp $
     1# $Id: Portfile,v 1.2 2003/10/30 22:33:31 gwright Exp $
    22
    33PortSystem 1.0
     
    3434                ghc-6.0.1-darwin-bootstrap.tar.bz2 md5 280afe385405fa437ae274bfab2c3250
    3535
    36 patchfiles      patch-configure.in patch-Linker.c
     36patchfiles      patch-configure.in patch-Linker.c patch-InteractiveUI.hs
     37#               patch-ghc-split.lprl
    3738
    3839depends_lib     lib:libreadline.4:readline lib:libgmp.3:gmp \
     
    5152                  puts $cfg "SRC_CC_OPTS += -I${prefix}/include"
    5253                  puts $cfg "SRC_HC_OPTS += -I${prefix}/include -L${prefix}/lib"
     54                  puts $cfg "SRC_HC_OPTS += -pgmP \"gcc3 -E -traditional\""
    5355                  puts $cfg "EXTRA_HSC2HS_OPTS += -I${prefix}/include"
    5456                  puts $cfg "EXTRA_LD_OPTS += -L${prefix}/lib"
     
    6567
    6668configure.args  --prefix=${destroot}/${prefix} \
    67                 --with-ghc="${workpath}/${name}-bootstrap/bin/ghc"
     69                --with-ghc='${workpath}/${name}-bootstrap/bin/ghc -pgmP \"gcc3 -E -traditional\"' \
     70                --with-gcc=gcc3
    6871
    6972post-destroot   { reinplace s|${destroot}/${prefix}|${prefix}|g ${destroot}/${prefix}/bin/ghc
Note: See TracChangeset for help on using the changeset viewer.