Changeset 12061


Ignore:
Timestamp:
Apr 28, 2005, 8:12:23 PM (15 years ago)
Author:
gwright
Message:

Prevent accidentally linking with libdl on Panther. Bump revision. Still
have to fix the bootstrap compiler under Panther so it doesn't need libdl.
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

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

    r12056 r12061  
    1 # $Id: Portfile,v 1.33 2005/04/28 13:08:12 gwright Exp $
     1# $Id: Portfile,v 1.34 2005/04/28 20:12:23 gwright Exp $
    22
    33PortSystem 1.0
    44name            ghc
    55version         6.4
     6revision        1
    67categories      lang
    78maintainers     gwright@opendarwin.org
     
    123124                        puts $cfg "ReadlineIncludePath=${prefix}/include"
    124125                        puts $cfg "SRC_CC_OPTS += -I${prefix}/include"
    125                         puts $cfg "SRC_HC_OPTS += -I${prefix}/include -L${prefix}/lib"
     126                        puts $cfg "SRC_HC_OPTS += -I${prefix}/include -L/usr/lib -L${prefix}/lib"
    126127                        puts $cfg "EXTRA_HSC2HS_OPTS += -I${prefix}/include"
     128                        puts $cfg "EXTRA_LD_OPTS += -L/usr/lib"
    127129                        puts $cfg "EXTRA_LD_OPTS += -L${prefix}/lib"
    128130                        close $cfg
     
    145147#               needs readline 4.3.
    146148
    147 configure.env   LDFLAGS="-L${prefix}/lib" CPPFLAGS="-I${prefix}/include" \
     149configure.env   LDFLAGS="-L/usr/lib -L${prefix}/lib"    \
     150                CPPFLAGS="-I${prefix}/include"          \
    148151                CFLAGS="-I${prefix}/include"
    149152
    150153configure.args  --prefix=${destroot}/${prefix}                  \
    151154                --mandir=${destroot}/${prefix}/share/man/       \
    152                 --enable-src-tree-happy                         \
    153                 --enable-hc-boot
     155                --enable-src-tree-happy
    154156
    155157variant noopengl        { configure.args-append --disable-hopengl }
Note: See TracChangeset for help on using the changeset viewer.