Changeset 9863 for trunk/dports/games


Ignore:
Timestamp:
Dec 20, 2004, 9:57:44 PM (15 years ago)
Author:
mww
Message:

Submitted by: mbrethen@…
Reviewed by: mww@

fix compilation on OS-X 10.2

Location:
trunk/dports/games/lgeneral
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/lgeneral/Portfile

    r9816 r9863  
    1 # $Id: Portfile,v 1.3 2004/12/17 02:49:07 mww Exp $
     1# $Id: Portfile,v 1.4 2004/12/20 21:57:43 mww Exp $
    22
    33PortSystem 1.0
     
    3232platform darwin 6       {
    3333        depends_lib-append      lib:libdl:dlcompat
     34        patchfiles              patch-darwin6_slot.c patch-darwin6_strat_map.c
    3435}
    3536
    3637configure       {
    37         set flags       "CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib"
    38         set conf        "$flags ./configure --prefix=${prefix}"
     38        set conf        "CPPFLAGS=-I${prefix}/include CFLAGS=-I${prefix}/include \
     39                LDFLAGS=-L${prefix}/lib ./configure --prefix=${prefix}"
    3940        system "cd ${worksrcpath} && ${conf} --disable-sdltest"
    4041        system "cd ${workpath}/${name}-data-1.1.3 && ${conf}"
Note: See TracChangeset for help on using the changeset viewer.