[134227] trunk/dports/science/airspy/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Mar 20 07:44:30 PDT 2015
Revision: 134227
https://trac.macports.org/changeset/134227
Author: michaelld at macports.org
Date: 2015-03-20 07:44:30 -0700 (Fri, 20 Mar 2015)
Log Message:
-----------
airspy: use new cmake 1.0 PortGroup features, including cmake.out_of_source (ticket #47197).
Modified Paths:
--------------
trunk/dports/science/airspy/Portfile
Modified: trunk/dports/science/airspy/Portfile
===================================================================
--- trunk/dports/science/airspy/Portfile 2015-03-20 14:44:09 UTC (rev 134226)
+++ trunk/dports/science/airspy/Portfile 2015-03-20 14:44:30 UTC (rev 134227)
@@ -24,11 +24,9 @@
depends_build-append port:pkgconfig
depends_lib-append port:libusb
-# 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 use of -std=gnu90, since some older compilers do not recognize it
@@ -39,15 +37,6 @@
configure.ldflags-delete -L${prefix}/lib
-# set last configure argument to the reletive path
-# to the top-level cmake source
-
-configure.post_args ../${worksrcdir}
-
-# be verbose when building, for debugging purposes
-
-build.post_args VERBOSE=1
-
# fix the lib version string to be MacPorts-specific
post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150320/7e56ba2b/attachment.html>
More information about the macports-changes
mailing list