Ticket #57761: Portfile.diff
File Portfile.diff, 1006 bytes (added by mbrethen, 6 years ago) |
---|
-
Portfile
old new 98 98 default_variants +x11 99 99 } 100 100 101 variant oc c description {(not supported) compile with OpenCascadegeometry kernel} {101 variant oce conflicts opencascade description {(not supported) compile with Open CASCADE Community Edition geometry kernel} { 102 102 depends_lib-append port:oce 103 103 configure.args-append -DUSE_OCC=ON \ 104 104 -DOCC_INCLUDE_DIR=${prefix}/include/oce \ 105 105 -DOCC_LIBRARY=${prefix}/lib 106 106 } 107 107 108 variant opencascade conflicts oce description {(not supported) compile with Open CASCADE geometry kernel} { 109 depends_lib-append port:opencascade 110 configure.args-append -DUSE_OCC=ON \ 111 -DOCC_INCLUDE_DIR=${prefix}/include/opencascade \ 112 -DOCC_LIBRARY=${prefix}/lib 113 } 114 108 115 pre-configure { 109 116 if {![variant_isset quartz] && ![variant_isset x11]} { 110 117 error "Either +x11 or +quartz is required"