[125228] trunk/dports/net/ASFRecorder/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Sep 10 13:08:20 PDT 2014


Revision: 125228
          https://trac.macports.org/changeset/125228
Author:   ryandesign at macports.org
Date:     2014-09-10 13:08:20 -0700 (Wed, 10 Sep 2014)
Log Message:
-----------
ASFRecorder: simplify build using system's -W flag

Modified Paths:
--------------
    trunk/dports/net/ASFRecorder/Portfile

Modified: trunk/dports/net/ASFRecorder/Portfile
===================================================================
--- trunk/dports/net/ASFRecorder/Portfile	2014-09-10 19:55:43 UTC (rev 125227)
+++ trunk/dports/net/ASFRecorder/Portfile	2014-09-10 20:08:20 UTC (rev 125228)
@@ -21,7 +21,10 @@
 use_zip         yes
 checksums       md5 c0cd281b9f72479945058735d8eff8a2
 use_configure   no
-build           { system "${configure.cc} ${configure.cflags} ${configure.cc_archflags} -o ${worksrcpath}/source/${name} \
-                ${worksrcpath}/source/asfrecorder.c"}
+
+build {
+    system -W ${worksrcpath}/source "${configure.cc} ${configure.cflags} ${configure.cc_archflags} -o ${name} asfrecorder.c"
+}
+
 destroot        { xinstall -m 755 ${worksrcpath}/source/ASFRecorder \
                 ${destroot}${prefix}/bin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140910/80987d7d/attachment.html>


More information about the macports-changes mailing list