[110730] trunk/dports/graphics/pgplot/Portfile
mojca at macports.org
mojca at macports.org
Wed Sep 4 13:28:38 PDT 2013
Revision: 110730
https://trac.macports.org/changeset/110730
Author: mojca at macports.org
Date: 2013-09-04 13:28:38 -0700 (Wed, 04 Sep 2013)
Log Message:
-----------
pgplot: replace no_x11 with x11 (#39383, #39818, maintainer timeout)
Modified Paths:
--------------
trunk/dports/graphics/pgplot/Portfile
Modified: trunk/dports/graphics/pgplot/Portfile
===================================================================
--- trunk/dports/graphics/pgplot/Portfile 2013-09-04 20:25:31 UTC (rev 110729)
+++ trunk/dports/graphics/pgplot/Portfile 2013-09-04 20:28:38 UTC (rev 110730)
@@ -41,8 +41,7 @@
port:pkgconfig
depends_lib port:libpng \
- port:zlib \
- port:xorg-libX11
+ port:zlib
patchfiles patch-makemake.diff \
patch-drivers.list.patch \
@@ -72,7 +71,7 @@
set drivers "GIF VGIF LATEX PNG TPNG PS VPS CPS VCPS"
- if {![variant_isset no_x11]} {
+ if {[variant_isset x11]} {
# XDISP does not work because the program figdisp can not be found.
lappend drivers XWINDOW XSERVE
}
@@ -90,7 +89,7 @@
set shlib_opts \
"-dynamiclib -single_module -current_version ${version} -compatibility_version ${compat_version}"
- if {![variant_isset no_x11]} {
+ if {[variant_isset x11]} {
# XQuartz or MacPorts X11 (pkg-config gives precedence to MacPorts X11)
eval configure.ldflags-append [exec pkg-config x11 --libs-only-L]
set x11Libs [exec pkg-config x11 --libs-only-l]
@@ -210,11 +209,19 @@
universal_variant no
-variant no_x11 {
- depends_lib-delete port:xorg-libX11
- depends_build-delete port:pkgconfig
+variant x11 conflicts no_x11 {
+ depends_lib-append port:xorg-libX11
+ depends_build-append port:pkgconfig
}
+variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
+
+if {[variant_isset no_x11]} {
+ default_variants -x11
+} else {
+ default_variants +x11
+}
+
variant aquaterm description {install driver for aquaterm} {
depends_lib-append port:aquaterm
@@ -259,7 +266,7 @@
}
if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} {
- default_variants +gcc47
+ default_variants-append +gcc47
}
variant docs description {Create and install docs} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130904/d74da454/attachment.html>
More information about the macports-changes
mailing list