[134230] trunk/dports/science/gr-osmosdr/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Mar 20 07:45:20 PDT 2015
Revision: 134230
https://trac.macports.org/changeset/134230
Author: michaelld at macports.org
Date: 2015-03-20 07:45:20 -0700 (Fri, 20 Mar 2015)
Log Message:
-----------
gr-osmosdr: use new cmake 1.0 PortGroup features, including cmake.out_of_source (ticket #47197).
Modified Paths:
--------------
trunk/dports/science/gr-osmosdr/Portfile
Modified: trunk/dports/science/gr-osmosdr/Portfile
===================================================================
--- trunk/dports/science/gr-osmosdr/Portfile 2015-03-20 14:44:59 UTC (rev 134229)
+++ trunk/dports/science/gr-osmosdr/Portfile 2015-03-20 14:45:20 UTC (rev 134230)
@@ -79,27 +79,15 @@
}
-# do VPATH build
+# do VPATH (out of source tree) build
-set vpath ${workpath}/build
-pre-configure { file mkdir ${vpath} }
-configure.dir ${vpath}
-build.dir ${vpath}
+cmake.out_of_source yes
-# set last configure argument to the reletive path
-# to the top-level cmake source
-
-configure.post_args ../${worksrcdir}
-
# remove top-level library path, such that internal libraries are used
# instead of any already-installed ones.
configure.ldflags-delete -L${prefix}/lib
-# 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 +uhd +swig +hackrf +fcdproplus +rtlsdr +bladeRF +airspy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150320/3ea36686/attachment.html>
More information about the macports-changes
mailing list