[136969] trunk/dports/gis/orfeotoolbox/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Jun 1 05:27:54 PDT 2015
Revision: 136969
https://trac.macports.org/changeset/136969
Author: ryandesign at macports.org
Date: 2015-06-01 05:27:54 -0700 (Mon, 01 Jun 2015)
Log Message:
-----------
orfeotoolbox: use cmake.out_of_source yes (#47197); begins to address configure failure (#47523)
Modified Paths:
--------------
trunk/dports/gis/orfeotoolbox/Portfile
Modified: trunk/dports/gis/orfeotoolbox/Portfile
===================================================================
--- trunk/dports/gis/orfeotoolbox/Portfile 2015-06-01 10:50:01 UTC (rev 136968)
+++ trunk/dports/gis/orfeotoolbox/Portfile 2015-06-01 12:27:54 UTC (rev 136969)
@@ -33,9 +33,6 @@
checksums rmd160 90ee3e47a79e2bee9525c1a9cbfa050a78e1c360 \
sha256 9875484139b785163c0f0e19e76d458f598fd076b80d0d0aa0e3b59cafcad98e
-worksrcdir ${workpath}/build
-patch.dir ${workpath}/${distname}
-
depends_lib-append port:tiff \
port:jpeg \
port:libgeotiff \
@@ -54,23 +51,20 @@
OpenSceneGraph \
InsightToolkit
-post-extract {
- file mkdir ${worksrcpath}
-}
-
patchfiles-append patch-Code_ApplicationEngine_otbWrapperApplication.h.diff
use_parallel_build no
-configure.args-append ../${distname}/ \
- -DBUILD_APPLICATIONS=ON \
+cmake.out_of_source yes
+
+configure.args-append -DBUILD_APPLICATIONS=ON \
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTING=OFF
# The default installation path for library is ${prefix}/lib/otb
# But the cmake PortGroup is using rpath and CMAKE_INSTALL_NAME_DIR=${prefix}/lib
-configure.args-delete -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
-configure.args-append -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/otb
+configure.args-replace -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
+ -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/otb
# Use external libs, where available
configure.args-append -DOTB_USE_EXTERNAL_EXPAT=ON \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150601/c54c015a/attachment-0001.html>
More information about the macports-changes
mailing list