[53959] trunk/dports/multimedia/VLC/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Jul 17 01:18:59 PDT 2009
Revision: 53959
http://trac.macports.org/changeset/53959
Author: ryandesign at macports.org
Date: 2009-07-17 01:18:57 -0700 (Fri, 17 Jul 2009)
Log Message:
-----------
VLC: display an error message when trying to install on less than Mac OS X 10.5; see #20349
Modified Paths:
--------------
trunk/dports/multimedia/VLC/Portfile
Modified: trunk/dports/multimedia/VLC/Portfile
===================================================================
--- trunk/dports/multimedia/VLC/Portfile 2009-07-17 08:02:35 UTC (rev 53958)
+++ trunk/dports/multimedia/VLC/Portfile 2009-07-17 08:18:57 UTC (rev 53959)
@@ -36,6 +36,13 @@
port:libdvdplay port:libdvdnav port:ffmpeg \
port:gnutls port:taglib port:libxml2
+pre-fetch {
+ if {"darwin" == ${os.platform} && ${os.major} < 9} {
+ ui_error "${name} ${version} requires Mac OS X 10.5 or greater"
+ return -code error "incompatible Mac OS X version"
+ }
+}
+
patchfiles patch-Makefile.am.diff patch-configure.ac-xcb.diff
use_autoreconf yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090717/a2229ca9/attachment-0001.html>
More information about the macports-changes
mailing list