Ticket #39818: pgplot-x11.patch
File pgplot-x11.patch, 1.9 KB (added by mojca (Mojca Miklavec), 11 years ago) |
---|
-
Portfile
41 41 port:pkgconfig 42 42 43 43 depends_lib port:libpng \ 44 port:zlib \ 45 port:xorg-libX11 44 port:zlib 46 45 47 46 patchfiles patch-makemake.diff \ 48 47 patch-drivers.list.patch \ … … 72 71 73 72 set drivers "GIF VGIF LATEX PNG TPNG PS VPS CPS VCPS" 74 73 75 if { ![variant_isset no_x11]} {74 if {[variant_isset x11]} { 76 75 # XDISP does not work because the program figdisp can not be found. 77 76 lappend drivers XWINDOW XSERVE 78 77 } … … 90 89 set shlib_opts \ 91 90 "-dynamiclib -single_module -current_version ${version} -compatibility_version ${compat_version}" 92 91 93 if { ![variant_isset no_x11]} {92 if {[variant_isset x11]} { 94 93 # XQuartz or MacPorts X11 (pkg-config gives precedence to MacPorts X11) 95 94 eval configure.ldflags-append [exec pkg-config x11 --libs-only-L] 96 95 set x11Libs [exec pkg-config x11 --libs-only-l] … … 210 209 211 210 universal_variant no 212 211 213 variant no_x11 {214 depends_lib- deleteport:xorg-libX11215 depends_build- deleteport:pkgconfig212 variant x11 conflicts no_x11 { 213 depends_lib-append port:xorg-libX11 214 depends_build-append port:pkgconfig 216 215 } 217 216 217 variant no_x11 conflicts x11 description {Legacy compatibility variant} {} 218 219 if {[variant_isset no_x11]} { 220 default_variants -x11 221 } else { 222 default_variants +x11 223 } 224 218 225 variant aquaterm description {install driver for aquaterm} { 219 226 depends_lib-append port:aquaterm 220 227 … … 254 261 } 255 262 256 263 if {![variant_isset g95] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset gcc45] && ![variant_isset gcc46]} { 257 default_variants +gcc47264 default_variants-append +gcc47 258 265 } 259 266 260 267 variant docs description {Create and install docs} {