[129854] trunk/dports
ionic at macports.org
ionic at macports.org
Sun Dec 21 08:19:52 PST 2014
Revision: 129854
https://trac.macports.org/changeset/129854
Author: ionic at macports.org
Date: 2014-12-21 08:19:52 -0800 (Sun, 21 Dec 2014)
Log Message:
-----------
ffmpeg{,-devel}, libnotify: update to ${os.minor} instead of manual splitting.
Modified Paths:
--------------
trunk/dports/devel/libnotify/Portfile
trunk/dports/multimedia/ffmpeg/Portfile
trunk/dports/multimedia/ffmpeg-devel/Portfile
Modified: trunk/dports/devel/libnotify/Portfile
===================================================================
--- trunk/dports/devel/libnotify/Portfile 2014-12-21 16:08:26 UTC (rev 129853)
+++ trunk/dports/devel/libnotify/Portfile 2014-12-21 16:19:52 UTC (rev 129854)
@@ -35,7 +35,7 @@
configure.args --enable-introspection=yes
pre-activate {
- if {${os.major} == 11 && [lindex [split ${os.version} .] 1] < 2 && ${os.platform} eq "darwin"} {
+ if {${os.major} == 11 && ${os.minor} < 2 && ${os.platform} eq "darwin"} {
ui_error "You must first update to OS X 10.7.2."
return -code error "You must first update to OS X 10.7.2."
}
Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile 2014-12-21 16:08:26 UTC (rev 129853)
+++ trunk/dports/multimedia/ffmpeg/Portfile 2014-12-21 16:19:52 UTC (rev 129854)
@@ -144,9 +144,8 @@
configure.args-append --disable-asm
}
- # FIXME: use ${os.minor} once it hits stable base
# VDA (video hardware acceleration, mostly H264) is only supported on 10.6.3+
- if {${os.major} > 10 || (${os.major} == 10 && [lindex [split ${os.version} .] 1] >= 3)} {
+ if {${os.major} > 10 || (${os.major} == 10 && ${os.minor} >= 3)} {
configure.args-delete --disable-vda
configure.args-append --enable-vda
}
Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile 2014-12-21 16:08:26 UTC (rev 129853)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile 2014-12-21 16:19:52 UTC (rev 129854)
@@ -148,9 +148,8 @@
configure.args-append --disable-asm
}
- # FIXME: use ${os.minor} once it hits stable base
# VDA (video hardware acceleration, mostly H264) is only supported on 10.6.3+
- if {${os.major} > 10 || (${os.major} == 10 && [lindex [split ${os.version} .] 1] >= 3)} {
+ if {${os.major} > 10 || (${os.major} == 10 && ${os.minor} >= 3)} {
configure.args-delete --disable-vda
configure.args-append --enable-vda
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141221/77edf6d3/attachment-0001.html>
More information about the macports-changes
mailing list