[102161] trunk/dports/multimedia/mplayer-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jan 28 14:12:04 PST 2013


Revision: 102161
          https://trac.macports.org/changeset/102161
Author:   ryandesign at macports.org
Date:     2013-01-28 14:12:03 -0800 (Mon, 28 Jan 2013)
Log Message:
-----------
mplayer-devel: Use compiler_blacklist_versions for gcc-4.2 blacklisting

Modified Paths:
--------------
    trunk/dports/multimedia/mplayer-devel/Portfile

Modified: trunk/dports/multimedia/mplayer-devel/Portfile
===================================================================
--- trunk/dports/multimedia/mplayer-devel/Portfile	2013-01-28 20:11:13 UTC (rev 102160)
+++ trunk/dports/multimedia/mplayer-devel/Portfile	2013-01-28 22:12:03 UTC (rev 102161)
@@ -3,6 +3,7 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 
 PortSystem          1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                mplayer-devel
 version             35203
@@ -274,10 +275,7 @@
 }
 
 # gcc-4.0 and older gcc-4.2 fail to build cpudetect.c properly
-compiler.blacklist-append gcc-4.0
-if {[vercmp ${xcodeversion} 3.2] < 0} {
-    compiler.blacklist-append gcc-4.2
-}
+compiler.blacklist-append gcc-4.0 {gcc-4.2 < 5646}
 
 # TODO: base should do this: http://trac.macports.org/ticket/32542
 if {[portconfigure::compiler_is_port ${configure.compiler}]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130128/517d9864/attachment.html>


More information about the macports-changes mailing list