[134283] trunk/dports/science/gmt5/Portfile

takeshi at macports.org takeshi at macports.org
Sat Mar 21 06:40:53 PDT 2015


Revision: 134283
          https://trac.macports.org/changeset/134283
Author:   takeshi at macports.org
Date:     2015-03-21 06:40:52 -0700 (Sat, 21 Mar 2015)
Log Message:
-----------
gmt5: added cmake.out_of_source yes cf. #47197

Modified Paths:
--------------
    trunk/dports/science/gmt5/Portfile

Modified: trunk/dports/science/gmt5/Portfile
===================================================================
--- trunk/dports/science/gmt5/Portfile	2015-03-21 07:58:30 UTC (rev 134282)
+++ trunk/dports/science/gmt5/Portfile	2015-03-21 13:40:52 UTC (rev 134283)
@@ -44,11 +44,7 @@
     default_variants-append +nonfree
 }
 
-# CMake out-of-source build:
-worksrcdir          build
-post-extract {
-    file mkdir ${worksrcpath}
-}
+cmake.out_of_source yes
 
 # Mimic CMake's default FLAGS:
 if {[variant_isset debug]} {
@@ -68,9 +64,6 @@
                             -DGMT_INSTALL_TRADITIONAL_FOLDERNAMES=off \
                             -DLICENSE_RESTRICTED=GPL
 
-# Location of sources relative to ${worksrcpath}:
-configure.post_args         ../${distname}
-
 variant fftw3 description {Optional support for FFTW-3 library} {
     depends_lib-append      port:fftw-3-single
     configure.args-delete   -DFFTW3_ROOT=off
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150321/92f00cb9/attachment.html>


More information about the macports-changes mailing list