[144087] trunk/dports/science/xtide/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Thu Dec 31 15:50:07 PST 2015


Revision: 144087
          https://trac.macports.org/changeset/144087
Author:   dstrubbe at macports.org
Date:     2015-12-31 15:50:07 -0800 (Thu, 31 Dec 2015)
Log Message:
-----------
xtide: Enable building without X if desired.

Modified Paths:
--------------
    trunk/dports/science/xtide/Portfile

Modified: trunk/dports/science/xtide/Portfile
===================================================================
--- trunk/dports/science/xtide/Portfile	2015-12-31 20:52:50 UTC (rev 144086)
+++ trunk/dports/science/xtide/Portfile	2015-12-31 23:50:07 UTC (rev 144087)
@@ -33,7 +33,6 @@
 
     depends_lib         port:libpng \
                         port:libtcd \
-                        port:xorg-libXaw \
                         port:${name}-data
 
     post-extract {
@@ -44,6 +43,15 @@
     # Per the configure script: "if using GCC, version 4.4 or later is required"
     compiler.blacklist  *gcc-4.2 gcc-4.0 gcc-3.3 {clang < 300}
 
+    configure.args-append   --without-x
+    
+    variant xwindows description {Build xtide executable for use with X-Windows} {
+        depends_lib-append      port:xorg-libXaw
+        configure.args-delete   --without-x
+    }
+
+    default_variants-append +xwindows
+
     livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151231/883823c2/attachment.html>


More information about the macports-changes mailing list