Changeset 4344


Ignore:
Timestamp:
Dec 28, 2003, 9:36:44 PM (17 years ago)
Author:
gwright
Message:

Fixed ghc script to look for libraries in ${prefix}/lib.

File:
1 edited

Legend:

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

    r4286 r4344  
    1 # $Id: Portfile,v 1.3 2003/12/23 14:40:26 gwright Exp $
     1# $Id: Portfile,v 1.4 2003/12/28 21:36:44 gwright Exp $
    22
    33PortSystem 1.0
     
    2222
    2323homepage        http://www.haskell.org/ghc/
    24 master_sites    http://www.haskell.org/ghc/dist/${version}/:source \
    25                 http://haskell.org/ghc/dist/6.0.1/MacOSX/:bootstrap \
     24master_sites    ${homepage}/dist/${version}/:source \
     25                ${homepage}/dist/6.0.1/MacOSX/:bootstrap \
    2626                http://distfiles.opendarwin.org/:bootstrap
    2727
     
    6666
    6767configure.args  --prefix=${destroot}/${prefix} \
     68                --mandir=${destroot}/${prefix}/share/man/ \
    6869                --with-ghc='${workpath}/${name}-bootstrap/bin/ghc -pgmP \"gcc3 -E -traditional\"' \
    6970                --with-gcc=gcc3
     
    7475                  reinplace s|${destroot}/${prefix}|${prefix}|g ${destroot}/${prefix}/bin/ghcprof
    7576                  reinplace s|${destroot}/${prefix}|${prefix}|g ${destroot}/${prefix}/bin/hsc2hs
     77
     78                  reinplace "s|GHCBIN \\\$TOPDIROPT|GHCBIN \\\$TOPDIROPT -L${prefix}/lib|" ${destroot}/${prefix}/bin/ghc
    7679                }
    7780
Note: See TracChangeset for help on using the changeset viewer.