Ticket #35615: gnuplot-remove-no_x11.patch
File gnuplot-remove-no_x11.patch, 1.8 KB (added by mojca (Mojca Miklavec), 12 years ago) |
---|
-
Portfile
depends_lib port:expat \ 46 46 port:libpng \ 47 47 port:ncurses \ 48 48 port:readline \ 49 port:xpm \50 49 port:zlib 51 50 52 51 patchfiles patch-src-variable.c.diff \ … … configure.args --with-readline=${prefix} \ 74 73 --with-gd=${prefix} \ 75 74 --with-pdf=${prefix} \ 76 75 --with-png=${prefix} \ 77 --with -x \76 --without-x \ 78 77 --enable-datastrings \ 79 78 --enable-histograms \ 80 79 --infodir='\${prefix}/share/info' \ … … configure.args --with-readline=${prefix} \ 87 86 88 87 configure.ccache no 89 88 90 variant no_x11 description "Disable X11 terminal" { 91 depends_lib-delete port:xpm 92 configure.args-delete --with-x 93 configure.args-append --without-x 89 variant x11 conflicts no_x11 "Enable X11 terminal" { 90 configure.args-delete --without-x 91 configure.args-append --with-x 92 depends_lib-append port:xpm 93 } 94 # remove this in August 2013 95 variant no_x11 conflicts x11 description {Legacy compatibility variant} {} 96 if {[variant_isset no_x11]} { 97 default_variants -x11 98 } else { 99 default_variants +x11 94 100 } 95 101 96 102 variant luaterm description "Enable lua-based terminals" { … … variant tutorial description "Build the tutorial (requires a tex install)" { 136 142 configure.args-append --with-tutorial 137 143 } 138 144 139 default_variants +luaterm +pangocairo 145 default_variants +luaterm +pangocairo +x11 140 146 141 147 destroot.destdir prefix=${destroot}${prefix} 142 148