Changeset 136969


Ignore:
Timestamp:
Jun 1, 2015, 12:27:54 PM (5 years ago)
Author:
ryandesign@…
Message:

orfeotoolbox: use cmake.out_of_source yes (#47197); begins to address configure failure (#47523)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/orfeotoolbox/Portfile

    r118993 r136969  
    3434                    sha256  9875484139b785163c0f0e19e76d458f598fd076b80d0d0aa0e3b59cafcad98e
    3535
    36 worksrcdir          ${workpath}/build
    37 patch.dir           ${workpath}/${distname}
    38 
    3936depends_lib-append  port:tiff \
    4037                    port:jpeg \
     
    5552                    InsightToolkit
    5653
    57 post-extract {
    58     file mkdir ${worksrcpath}
    59 }
    60 
    6154patchfiles-append       patch-Code_ApplicationEngine_otbWrapperApplication.h.diff
    6255
    6356use_parallel_build      no
    6457
    65 configure.args-append   ../${distname}/ \
    66                         -DBUILD_APPLICATIONS=ON \
     58cmake.out_of_source     yes
     59
     60configure.args-append   -DBUILD_APPLICATIONS=ON \
    6761                        -DBUILD_EXAMPLES=OFF \
    6862                        -DBUILD_TESTING=OFF
     
    7064# The default installation path for library is ${prefix}/lib/otb
    7165# But the cmake PortGroup is using rpath and CMAKE_INSTALL_NAME_DIR=${prefix}/lib
    72 configure.args-delete   -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
    73 configure.args-append   -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/otb
     66configure.args-replace  -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
     67                        -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/otb
    7468
    7569# Use external libs, where available
Note: See TracChangeset for help on using the changeset viewer.