New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82891


Ignore:
Timestamp:
08/21/11 07:17:27 (4 years ago)
Author:
jmr@…
Message:

xroot: fix build failure due to incorrect variable name, and generally clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/xroot/Portfile

    r50572 r82891  
    22 
    33PortSystem          1.0 
     4 
    45name                xroot 
    56version             1.0 
     
    2122master_sites        ${homepage} 
    2223distfiles           xroot.c 
    23 universal_variant   no 
    2424depends_lib \ 
    2525        port:xorg-libX11 
    2626 
    27 extract   {} 
     27extract   { 
     28    file mkdir ${worksrcpath} 
     29    file copy ${distpath}/${distfiles} ${worksrcpath} 
     30} 
    2831use_configure       no 
    2932 
    30 pre-build   { 
    31     file mkdir ${worksrcpath} 
    32 } 
    3333build       { 
    34     file copy ${distpath}/${distfile} ${worksrcpath} 
    35     system "cd ${worksrcpath} && c++ ${distfile} -Wall -L${prefix}/lib -I${prefix}/include -lX11 -o xroot" 
     34    system "cd ${worksrcpath} && ${configure.cxx} ${configure.cxxflags} ${configure.cxx_archflags} ${distfiles} -Wall -L${prefix}/lib -I${prefix}/include -lX11 -o xroot" 
    3635} 
    3736destroot    { 
Note: See TracChangeset for help on using the changeset viewer.