[118542] trunk/dports/multimedia/libmpeg2/Portfile

mojca at macports.org mojca at macports.org
Fri Apr 4 01:43:41 PDT 2014


Revision: 118542
          https://trac.macports.org/changeset/118542
Author:   mojca at macports.org
Date:     2014-04-04 01:43:41 -0700 (Fri, 04 Apr 2014)
Log Message:
-----------
libmpeg2: respect no_x11 and no_sdl

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

Modified: trunk/dports/multimedia/libmpeg2/Portfile
===================================================================
--- trunk/dports/multimedia/libmpeg2/Portfile	2014-04-04 08:38:55 UTC (rev 118541)
+++ trunk/dports/multimedia/libmpeg2/Portfile	2014-04-04 08:43:41 UTC (rev 118542)
@@ -44,10 +44,21 @@
                             --x-libraries=${prefix}/lib
 }
 
+# remove after April 2015
 variant no_sdl conflicts sdl description {Legacy compatibility variant} {}
 variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
 
-default_variants    +sdl +x11
+# default_variants +sdl +x11
+if {[variant_isset no_x11]} {
+    default_variants -x11
+} else {
+    default_variants +x11
+}
+if {[variant_isset no_sdl]} {
+    default_variants -sdl
+} else {
+    default_variants +sdl
+}
 
 livecheck.type      regex
 livecheck.url       ${homepage}downloads.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140404/e1d9d128/attachment.html>


More information about the macports-changes mailing list