[134170] trunk/dports/science/uhd/Portfile
michaelld at macports.org
michaelld at macports.org
Thu Mar 19 09:44:55 PDT 2015
Revision: 134170
https://trac.macports.org/changeset/134170
Author: michaelld at macports.org
Date: 2015-03-19 09:44:55 -0700 (Thu, 19 Mar 2015)
Log Message:
-----------
uhd: move to using cmake.out_of_source.
Modified Paths:
--------------
trunk/dports/science/uhd/Portfile
Modified: trunk/dports/science/uhd/Portfile
===================================================================
--- trunk/dports/science/uhd/Portfile 2015-03-19 16:39:16 UTC (rev 134169)
+++ trunk/dports/science/uhd/Portfile 2015-03-19 16:44:55 UTC (rev 134170)
@@ -71,18 +71,16 @@
depends_build-append port:pkgconfig
-# do VPATH build
+# do VPATH (out of source tree) build
-post-extract { file mkdir ${workpath}/build }
-configure.dir ${workpath}/build
-build.dir ${workpath}/build
+cmake.out_of_source yes
# remove top-level library path, such that internal libraries are used
# instead of any already-installed ones.
configure.ldflags-delete -L${prefix}/lib
-# set last configure argument to the reletive path
+# set last configure argument to the relative path
# to the top-level cmake source
configure.post_args ../${worksrcdir}/host
@@ -114,10 +112,6 @@
configure.args-append \
-DCMAKE_MODULES_DIR=${prefix}/share/cmake
-# be verbose when building, for debugging purposes
-
-build.post_args VERBOSE=1
-
# per user concensus: enable all variants except +debug and +universal
default_variants +docs +examples +libusb +manual +test +orc +manpages
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150319/4557b357/attachment.html>
More information about the macports-changes
mailing list