Changeset 52654


Ignore:
Timestamp:
Jun 20, 2009, 6:00:33 PM (11 years ago)
Author:
devans@…
Message:

ardour2:

  • properly set configure.compiler to use macports gcc43
  • properly set build.env and destroot.env using ${configure.cc}, ${configure.cxx}, ${configure.cpp} to ensure absolute paths to executables
  • patch gtk2_ardour/SConscript to allow explicit invocation of 'cpp' to be replaced by ${configure.cpp} using post-patch reinplace
  • increment revision in case this results in different compilation
  • thanks to ryandesign for his patch, test device and suggestions. Closes #19879.
Location:
trunk/dports/audio/ardour2
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/ardour2/Portfile

    r51938 r52654  
    66name                    ardour2
    77version                 2.8
     8revision                1
    89distname                ardour-${version}
    910maintainers             devans
     
    5253                        patch-libs-pbd-mountpoint.cc.diff \
    5354                        patch-libs-pbd-pathscanner.cc.diff \
     55                        patch-gtk2_ardour-SConscript.diff \
    5456                        patch-gtk2_ardour-nag.cc.diff
    5557
    5658post-patch {
    5759    reinplace "s%@MP_PREFIX@%${prefix}%g" ${worksrcpath}/SConstruct
     60    reinplace "s%@MP_CPP@%${configure.cpp}%g" ${worksrcpath}/gtk2_ardour/SConscript
    5861}
    5962
     63configure.compiler      macports-gcc-4.3
    6064use_configure           no
    6165
     
    6367build.target
    6468build.args              PREFIX=${prefix} VST=0 AUBIO=1 FREESOUND=1 LV2=0
    65 build.env               CC=gcc-mp-4.3 CXX=g++-mp-4.3
     69build.env               CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
    6670
    6771destroot.cmd            scons
    68 destroot.env            CC=gcc-mp-4.3 CXX=g++-mp-4.3
     72destroot.env            CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
    6973
    7074variant lv2 description {Add support for LV2 plugins (currently broken)} {
Note: See TracChangeset for help on using the changeset viewer.