[103015] trunk/dports/textproc/doxygen/Portfile

mmoll at macports.org mmoll at macports.org
Mon Feb 11 18:07:52 PST 2013


Revision: 103015
          https://trac.macports.org/changeset/103015
Author:   mmoll at macports.org
Date:     2013-02-11 18:07:52 -0800 (Mon, 11 Feb 2013)
Log Message:
-----------
textproc/doxygen: only remove flag if compiler is gcc; removing the flag for the version of clang that comes with xcode 4.6 causes massive memory leaks to the point that the compilation never finishes. See #38018.

Modified Paths:
--------------
    trunk/dports/textproc/doxygen/Portfile

Modified: trunk/dports/textproc/doxygen/Portfile
===================================================================
--- trunk/dports/textproc/doxygen/Portfile	2013-02-12 01:29:49 UTC (rev 103014)
+++ trunk/dports/textproc/doxygen/Portfile	2013-02-12 02:07:52 UTC (rev 103015)
@@ -4,7 +4,7 @@
 
 name			doxygen
 version			1.8.3
-revision		2
+revision		3
 categories		textproc devel
 maintainers		css
 license			GPL-2
@@ -90,11 +90,13 @@
 	reinplace "s,-n \"`\$j/\$i --version 2>/dev/null \| grep utils`\",-x \"\$j/\$i\",g" ${worksrcpath}/configure
 
 	# remove flag that is not defined for gcc and only suppresses some warnings for clang
-	reinplace "s|-Wno-invalid-source-encoding||g" ${worksrcpath}/libmd5/Makefile.libmd5 \
-		${worksrcpath}/src/Makefile.libdoxycfg \
-		${worksrcpath}/tmake/lib/macosx-c++/tmake.conf \
-		${worksrcpath}/tmake/lib/macosx-intel-c++/tmake.conf \
-		${worksrcpath}/tmake/lib/macosx-uni-c++/tmake.conf
+    if {[string match *gcc* ${configure.compiler}]} {
+		reinplace "s|-Wno-invalid-source-encoding||g" ${worksrcpath}/libmd5/Makefile.libmd5 \
+			${worksrcpath}/src/Makefile.libdoxycfg \
+			${worksrcpath}/tmake/lib/macosx-c++/tmake.conf \
+			${worksrcpath}/tmake/lib/macosx-intel-c++/tmake.conf \
+			${worksrcpath}/tmake/lib/macosx-uni-c++/tmake.conf
+	}
 }
 
 build.target		all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130211/4a8b99e2/attachment.html>


More information about the macports-changes mailing list