Ticket #36974: portfile_add_console_bat.diff
File portfile_add_console_bat.diff, 1.9 KB (added by robertoschwald (Robert Oschwald), 12 years ago) |
---|
-
Portfile
old new 29 29 port:tcp_wrappers \ 30 30 port:zlib 31 31 32 patchfiles patch-qt-console-osx.diff 32 33 # Comment out patchfiles in case they are needed in the future or for the non-client version which is completely untested at this point 33 # patchfilespatch-configure.diff \34 # 34 # patch-configure.diff \ 35 # patch-base64-typecast.diff 35 36 36 37 #post-patch { 37 38 # reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure … … 87 88 configure.args-append --enable-client-only 88 89 } 89 90 91 variant console_bat description "Install bacula BAT console" { 92 depends_lib-append port:qt4-mac 93 depends_lib-append port:qwt-devel 94 depends_build-append port:tcp_wrappers 95 depends_build-append port:makeicns 96 configure.args-append --enable-bat 97 startupitem.create no 98 # as bat can only be built with the client or server variants, we build with client 99 configure.args-append --enable-client-only 100 post-patch { 101 system "makeicns -in ${worksrcpath}/src/qt-console/images/bat_icon.png -out ${worksrcpath}/src/qt-console/images/bat_icon.icns" 102 } 103 } 104 90 105 variant mysql5 conflicts client_only postgresql83 postgresql84 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" { 91 106 depends_lib-append path:bin/mysql_config5:mysql5 92 107 configure.args-append --with-mysql … … 119 134 configure.args-delete --without-sqlite3 120 135 } 121 136 122 if {![variant_isset mysql5] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset sqlite2] && ![variant_isset sqlite3] } {137 if {![variant_isset mysql5] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset sqlite2] && ![variant_isset sqlite3] && ![variant_isset console_bat]} { 123 138 default_variants +client_only 124 139 } 125 140