[102997] trunk/dports/multimedia/VLC-devel/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Feb 11 13:55:45 PST 2013
Revision: 102997
https://trac.macports.org/changeset/102997
Author: jeremyhu at macports.org
Date: 2013-02-11 13:55:45 -0800 (Mon, 11 Feb 2013)
Log Message:
-----------
VLC-devel: x86_64-only
Modified Paths:
--------------
trunk/dports/multimedia/VLC-devel/Portfile
Modified: trunk/dports/multimedia/VLC-devel/Portfile
===================================================================
--- trunk/dports/multimedia/VLC-devel/Portfile 2013-02-11 21:49:39 UTC (rev 102996)
+++ trunk/dports/multimedia/VLC-devel/Portfile 2013-02-11 21:55:45 UTC (rev 102997)
@@ -50,6 +50,10 @@
# TODO: port:live555
+# VLC-2.1 and later are x86_64-only: https://trac.videolan.org/vlc/ticket/8161
+universal_variant no
+supported_archs x86_64
+
pre-fetch {
if {"darwin" == ${os.platform} && ${os.major} < 9} {
ui_error "${name} ${version} requires Mac OS X 10.6 or greater, use port 'VLC09' instead"
@@ -93,30 +97,6 @@
livecheck.type none
-# live555 and possibly others are not universal, so disabling for now
-universal_variant no
-
-# Older gcc fail at register allocation
-if {${build_arch} == "i386" || ([variant_isset universal] && [lsearch ${universal_archs} i386] != -1)} {
- # Switch to the blacklist once base 2.2 is out: https://trac.macports.org/ticket/37830
- #compiler.blacklist gcc-4.0 gcc-4.2 llvm-gcc-4.2 apple-gcc-4.2 macports-llvm-gcc-4.2
- compiler.whitelist clang macports-clang-3.2
-}
-
-# TODO: base should do this: http://trac.macports.org/ticket/32542
-if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
- depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
-
- # base 2.1.x ignores the argument and just use ${configure.compiler}
- if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
- depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
- }
-
- if {[string match macports-gcc* ${configure.compiler}]} {
- depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
- }
-}
-
# Other
configure.args-append \
--with-contrib=${worksrcpath}/contrib \
@@ -178,11 +158,6 @@
variant qtkit description {Enable qtcapture and qtaudio} {
configure.args-delete --disable-macosx-qtkit
configure.args-append --enable-macosx-qtkit
-
- if {${os.major} < 10} {
- ui_error "The +qtkit variant requires Snow Leopard or greater"
- return -code error "incompatible Mac OS X version"
- }
}
variant eyetv description {Enable eyetv plugin} {
@@ -301,15 +276,8 @@
description {Enable all variants} {}
platform macosx {
- if {${os.major} > 9} {
- default_variants-append +qtkit
- }
+ default_variants-append +qtkit
- if {${os.major} == 9} {
- # FIXME: x86_64 segfaults on Leopard on dlclose() ... not sure why
- supported_archs i386 ppc
- }
-
configure.args-delete \
--disable-macosx-vout --disable-macosx-audio \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130211/e18b9a2c/attachment.html>
More information about the macports-changes
mailing list