Ticket #39817: nessus-core-x11.patch
File nessus-core-x11.patch, 1.2 KB (added by mojca (Mojca Miklavec), 11 years ago) |
---|
-
Portfile
26 26 sha256 cfac284e4158bf302d15a06c1636c64c974c9360ebb48c6b7b971fda27c93e15 27 27 worksrcdir ${name}/ 28 28 depends_lib lib:libnessus.${version}:nessus-libraries \ 29 lib:libnasl.${version}:libnasl \ 30 port:gtk2 29 lib:libnasl.${version}:libnasl 31 30 32 31 patchfiles patch-nessus-preferences.c \ 33 32 patch-nessusd-preferences.c … … 49 48 } 50 49 51 50 configure.args --mandir=\\\${prefix}/share/man \ 52 --infodir=\\\${prefix}/share/info 51 --infodir=\\\${prefix}/share/info \ 52 --disable-gtk 53 53 54 variant no_x11 { 55 configure.args-append --disable-gtk 56 depends_lib-delete port:gtk2 54 variant x11 conflicts no_x11 description {build with GTK} { 55 depends_lib-append port:gtk2 56 configure.args-delete --disable-gtk 57 configure.args-append --enable-gtk 57 58 } 59 60 # remove this in August 2014 61 variant no_x11 conflicts x11 description {legacy compatibility variant} {} 62 if {[variant_isset no_x11]} { 63 default_variants -x11 64 } else { 65 default_variants +x11 66 }