[102151] trunk/dports/multimedia/MPlayer/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Jan 28 10:06:24 PST 2013


Revision: 102151
          https://trac.macports.org/changeset/102151
Author:   jeremyhu at macports.org
Date:     2013-01-28 10:06:24 -0800 (Mon, 28 Jan 2013)
Log Message:
-----------
mplayer{,-devel}: Use compiler_blacklist_versions for gcc-4.2 blacklisting

Modified Paths:
--------------
    trunk/dports/multimedia/MPlayer/Portfile

Modified: trunk/dports/multimedia/MPlayer/Portfile
===================================================================
--- trunk/dports/multimedia/MPlayer/Portfile	2013-01-28 17:17:25 UTC (rev 102150)
+++ trunk/dports/multimedia/MPlayer/Portfile	2013-01-28 18:06:24 UTC (rev 102151)
@@ -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
 version             1.1
@@ -263,10 +264,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/e0ef58c1/attachment.html>


More information about the macports-changes mailing list