[49971] trunk/dports/www/rtmpdump/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Apr 21 08:45:48 PDT 2009


Revision: 49971
          http://trac.macports.org/changeset/49971
Author:   ryandesign at macports.org
Date:     2009-04-21 08:45:47 -0700 (Tue, 21 Apr 2009)
Log Message:
-----------
rtmpdump: use the MacPorts-specified compiler

Modified Paths:
--------------
    trunk/dports/www/rtmpdump/Portfile

Modified: trunk/dports/www/rtmpdump/Portfile
===================================================================
--- trunk/dports/www/rtmpdump/Portfile	2009-04-21 15:39:57 UTC (rev 49970)
+++ trunk/dports/www/rtmpdump/Portfile	2009-04-21 15:45:47 UTC (rev 49971)
@@ -22,6 +22,10 @@
 checksums           md5 09fef2e674f7579088d966aac5d08736
 
 patchfiles          patch-bytes.h.diff
+post-patch {
+    reinplace "s|CC=.*\$|CC=${configure.cc}|" ${worksrcpath}/Makefile
+    reinplace "s|CXX=.*\$|CXX=${configure.cxx}|" ${worksrcpath}/Makefile
+}
 use_configure       no
 
 variant nodebug description {Build with NODEBUG flag (silences some debug messages when downloading)} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090421/7310cd90/attachment.html>


More information about the macports-changes mailing list