[135657] trunk/dports/multimedia
ionic at macports.org
ionic at macports.org
Tue Apr 28 21:31:49 PDT 2015
Revision: 135657
https://trac.macports.org/changeset/135657
Author: ionic at macports.org
Date: 2015-04-28 21:31:48 -0700 (Tue, 28 Apr 2015)
Log Message:
-----------
audacious-{core,plugins}: switch to cxx11 PortGroup.
Modified Paths:
--------------
trunk/dports/multimedia/audacious-core/Portfile
trunk/dports/multimedia/audacious-plugins/Portfile
Modified: trunk/dports/multimedia/audacious-core/Portfile
===================================================================
--- trunk/dports/multimedia/audacious-core/Portfile 2015-04-29 04:31:27 UTC (rev 135656)
+++ trunk/dports/multimedia/audacious-core/Portfile 2015-04-29 04:31:48 UTC (rev 135657)
@@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup conflicts_build 1.0
-PortGroup compiler_blacklist_versions 1.0
+PortGroup cxx11 1.0
name audacious-core
set real_name audacious
@@ -62,24 +62,6 @@
autoreconf.cmd ./autogen.sh
autoreconf.args
-# A compiler supporting C++11 is required to build audacious and its plugins.
-# The newer, the merrier.
-# Compilers supporting C++11 are GCC >= 4.6 and clang >= 3.3.
-# As we only support libc++, clang is required by implicitly.
-# Blacklist all GCC compilers to not accidentally pull in libstdc++.
-# We do not know what "cc" is, so blacklist it as well.
-compiler.blacklist-append {*gcc*} {clang < 500} macports-clang-2.* \
- {macports-clang-3.[0-2]} cc
-
-platform darwin {
- pre-configure {
- if {${configure.cxx_stdlib} eq "libstdc++"} {
- ui_error "This port does not support your selected MacPorts C++ runtime. libc++ must be selected and C++-based ports built against this."
- error "libstdc++ unsupported."
- }
- }
-}
-
post-destroot {
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${real_name}
move ${destroot}${prefix}/share/${real_name}/AUTHORS \
Modified: trunk/dports/multimedia/audacious-plugins/Portfile
===================================================================
--- trunk/dports/multimedia/audacious-plugins/Portfile 2015-04-29 04:31:27 UTC (rev 135656)
+++ trunk/dports/multimedia/audacious-plugins/Portfile 2015-04-29 04:31:48 UTC (rev 135657)
@@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup conflicts_build 1.0
-PortGroup compiler_blacklist_versions 1.0
+PortGroup cxx11 1.0
name audacious-plugins
@@ -120,24 +120,6 @@
autoreconf.cmd ./autogen.sh
autoreconf.args
-# A compiler supporting C++11 is required to build audacious and its plugins.
-# The newer, the merrier.
-# Compilers supporting C++11 are GCC >= 4.6 and clang >= 3.3.
-# As we only support libc++, clang is required by implicitly.
-# Blacklist all GCC compilers to not accidentally pull in libstdc++.
-# We do not know what "cc" is, so blacklist it as well.
-compiler.blacklist-append {*gcc*} {clang < 500} macports-clang-2.* \
- {macports-clang-3.[0-2]} cc
-
-platform darwin {
- pre-configure {
- if {${configure.cxx_stdlib} eq "libstdc++"} {
- ui_error "This port does not support your selected MacPorts C++ runtime. libc++ must be selected and C++-based ports built against this."
- error "libstdc++ unsupported."
- }
- }
-}
-
post-destroot {
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
xinstall -m 0644 ${worksrcpath}/COPYING ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150428/e6cb64b2/attachment.html>
More information about the macports-changes
mailing list