[136291] trunk/dports/print/ghostscript/Portfile

mojca at macports.org mojca at macports.org
Wed May 13 23:42:50 PDT 2015


Revision: 136291
          https://trac.macports.org/changeset/136291
Author:   mojca at macports.org
Date:     2015-05-13 23:42:50 -0700 (Wed, 13 May 2015)
Log Message:
-----------
ghostscript: remove obsolete no_x11 variant (#39383)

Modified Paths:
--------------
    trunk/dports/print/ghostscript/Portfile

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2015-05-14 06:37:57 UTC (rev 136290)
+++ trunk/dports/print/ghostscript/Portfile	2015-05-14 06:42:50 UTC (rev 136291)
@@ -123,26 +123,20 @@
 
 configure.universal_args-delete --disable-dependency-tracking
 
-if {[variant_isset no_x11]} {
-    default_variants    -x11
-} else { 
-    default_variants    +x11
-}
-
-variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
-
 variant x11 {
-    depends_lib-append port:xorg-libXext
-    depends_lib-append port:xorg-libXt
-    configure.args-delete --without-x
-    configure.args-append --with-x
+    depends_lib-append      port:xorg-libXext
+    depends_lib-append      port:xorg-libXt
+    configure.args-delete   --without-x
+    configure.args-append   --with-x
 }
 
 variant cups description {Enable CUPS driver} {
-    configure.args-delete --disable-cups
-    configure.args-append --enable-cups
+    configure.args-delete   --disable-cups
+    configure.args-append   --enable-cups
 }
 
+default_variants    +x11
+
 livecheck.type      regex
 livecheck.url       http://downloads.ghostscript.com/public/
 livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150513/d2386886/attachment-0001.html>


More information about the macports-changes mailing list