Ignore:
Timestamp:
Dec 17, 2010, 12:54:17 PM (9 years ago)
Author:
jmr@…
Message:

kde4 portgroup: simplify out-of-tree build dir stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/kde4-1.1.tcl

    r74418 r74442  
    4343configure.cppflags-delete -I${prefix}/include
    4444
    45 # build in a separate directory; have to put these into phases because
    46 # ${distname} and ${workpath} are not necessarily defined at the
    47 # top-level while they are guaranteed to be by the pre-fetch phase.
    48 
    4945# setup all KDE4 ports to build in a separate directory from the source;
    5046# this setting must be the full directory path
    5147post-extract            { file mkdir ${workpath}/build }
    5248
    53 # Have to set for configure, build, and destroot phases only.
    54 pre-configure {
    55     # standard post-arg, where to find the primary CMakeLists.txt file.
    56     configure.post_args ../${distname}
    57     configure.dir       ${workpath}/build
    58 }
    59 pre-build {
    60     build.dir           ${workpath}/build
    61 }
    62 pre-destroot {
    63     build.dir           ${workpath}/build
    64 }
     49# standard post-arg, where to find the primary CMakeLists.txt file.
     50default configure.post_args {../${distname}}
     51default configure.dir       {${workpath}/build}
     52default build.dir           {${workpath}/build}
    6553
    6654# Automoc added as build dependency here as most, if not all kde
Note: See TracChangeset for help on using the changeset viewer.