Changeset 82194
- Timestamp:
- 08/10/11 03:13:54 (4 years ago)
- Location:
- trunk/dports/graphics/openvrml
- Files:
-
- 2 added
- 1 edited
-
Portfile (modified) (6 diffs)
-
files (added)
-
files/patch-scopeexit.diff (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/openvrml/Portfile
r81337 r82194 29 29 port:jpeg \ 30 30 port:fontconfig \ 31 port:mesa \32 31 port:libxml2 \ 33 32 port:zlib \ 34 33 port:libiconv \ 35 path:lib/pkgconfig/sdl.pc:libsdl \36 34 path:bin/glibtool:libtool 37 35 depends_build port:pkgconfig 38 36 39 37 minimum_xcodeversions {9 3.1} 38 39 patchfiles patch-scopeexit.diff 40 40 41 41 configure.args --disable-script-node-javascript \ … … 44 44 --disable-player \ 45 45 --disable-mozilla-plugin \ 46 --with -x \47 -- x-includes=${prefix}/include\48 -- x-libraries=${prefix}/lib46 --without-x \ 47 --disable-gl-renderer \ 48 --disable-examples 49 49 configure.ldflags-append -lboost_system-mt 50 50 … … 61 61 } 62 62 63 variant js_mozilla conflicts no_x11 description {Enable support for JavaScript in the Script node with Mozilla} {63 variant js_mozilla requires x11 description {Enable support for JavaScript in the Script node with Mozilla} { 64 64 depends_lib-append path:lib/xulrunner/libxul.dylib:xulrunner 65 65 configure.args-delete --disable-script-node-javascript … … 76 76 } 77 77 78 variant no_opengl conflicts xembed description {Do not build theGL renderer} {78 variant opengl conflicts no_opengl description {Build the OpenGL renderer} { 79 79 # examples need SDL player which needs OpenGL 80 depends_lib- deleteport:mesa \80 depends_lib-append port:mesa \ 81 81 path:lib/pkgconfig/sdl.pc:libsdl 82 configure.args- append--disable-gl-renderer \82 configure.args-delete --disable-gl-renderer \ 83 83 --disable-examples 84 84 } 85 85 86 variant xembed conflicts no_opengl no_x11 description {Build the XEmbed control} { 86 variant no_opengl conflicts opengl description {Legacy compatibility variant} {} 87 88 variant xembed requires opengl x11 description {Build the XEmbed control} { 87 89 depends_lib-append port:gtkglext \ 88 90 port:dbus-glib … … 96 98 } 97 99 98 variant mozilla_plugin requires xembed conflicts no_x11description {Build the Mozilla plug-in} {100 variant mozilla_plugin requires xembed description {Build the Mozilla plug-in} { 99 101 depends_lib-append path:lib/xulrunner/libxul.dylib:xulrunner 100 102 configure.args-delete --disable-mozilla-plugin … … 104 106 } 105 107 106 variant no_x11 conflicts js_mozilla mozilla_plugin { 107 depends_lib-delete port:mesa 108 configure.args-delete --with-x \ 108 variant x11 conflicts no_x11 { 109 depends_lib-append port:mesa 110 configure.args-delete --without-x 111 configure.args-append --with-x \ 109 112 --x-includes=${prefix}/include \ 110 113 --x-libraries=${prefix}/lib 111 configure.args-append --without-x 114 } 115 116 variant no_x11 conflicts x11 description {Legacy compatibility variant} {} 117 118 if {![variant_isset no_x11]} { 119 if {![variant_isset no_opengl]} { 120 default_variants +x11+opengl 121 } else { 122 default_variants +x11 123 } 124 } else { 125 if {![variant_isset no_opengl]} { 126 default_variants +opengl 127 } 112 128 } 113 129
Note: See TracChangeset
for help on using the changeset viewer.

