Ticket #45050: patch-textproc-sphinx.diff
File patch-textproc-sphinx.diff, 3.9 KB (added by pixilla (Bradley Giesbrecht), 10 years ago) |
---|
-
textproc/sphinx/Portfile
34 34 patchfiles endian.patch 35 35 36 36 configure.args --datadir=${prefix}/share/doc \ 37 --sysconfdir=${prefix}/etc/sphinx \ 37 --sysconfdir=${prefix}/etc/${name} \ 38 --localstatedir=${prefix}/var/${name} \ 38 39 --without-mysql \ 39 40 --without-unixodbc 40 41 42 destroot.keepdirs ${destroot}${prefix}/var/${name}/data 43 post-destroot { 44 file mkdir ${destroot}${prefix}/var/${name}/data 45 } 46 47 post-activate { 48 if {![file exists ${prefix}/etc/${name}/${name}.conf]} { 49 copy ${prefix}/etc/${name}/${name}.conf.dist \ 50 ${prefix}/etc/${name}/${name}.conf 51 } 52 } 53 41 54 test.run yes 42 55 43 56 variant postgresql82 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 description {Enable PostgreSQL 8.2 support} { … … 92 105 variant mysql5 conflicts mysql51 mysql55 mysql56 mariadb percona description {Enable MySQL 5 support} { 93 106 depends_lib-append path:bin/mysql_config5:mysql5 94 107 configure.args-delete --without-mysql 95 configure.args-append --with-mysql-includes=${prefix}/include/mysql5/mysql \ 96 --with-mysql-libs=${prefix}/lib/mysql5/mysql 108 configure.args-append --with-mysql=${prefix} 97 109 } 98 110 99 111 variant mysql51 conflicts mysql5 mysql55 mysql56 mariadb percona description {Enable MySQL 5.1 support} { 100 112 depends_lib-append port:mysql51 101 113 configure.args-delete --without-mysql 102 configure.args-append --with-mysql-includes=${prefix}/include/mysql51/mysql \ 103 --with-mysql-libs=${prefix}/lib/mysql51/mysql 114 configure.args-append --with-mysql=${prefix}/lib/mysql51 104 115 } 105 116 106 117 variant mysql55 conflicts mysql5 mysql51 mysql56 mariadb percona description {Enable MySQL 5.5 support} { 107 118 depends_lib-append port:mysql55 108 119 configure.args-delete --without-mysql 109 configure.args-append --with-mysql-includes=${prefix}/include/mysql55/mysql \ 110 --with-mysql-libs=${prefix}/lib/mysql55/mysql 120 configure.args-append --with-mysql=${prefix}/lib/mysql55 111 121 } 112 122 113 123 variant mysql56 conflicts mysql5 mysql51 mysql55 mariadb percona description {Enable MySQL 5.6 support} { 114 124 depends_lib-append port:mysql56 115 125 configure.args-delete --without-mysql 116 configure.args-append --with-mysql-includes=${prefix}/include/mysql56/mysql \ 117 --with-mysql-libs=${prefix}/lib/mysql56/mysql 126 configure.args-append --with-mysql=${prefix}/lib/mysql56 118 127 } 119 128 120 129 variant mariadb conflicts mysql5 mysql51 mysql55 percona description {Enable MariaDB support} { 121 130 depends_lib-append port:mariadb 122 131 configure.args-delete --without-mysql 123 configure.args-append --with-mysql-includes=${prefix}/include/mariadb/mysql \ 124 --with-mysql-libs=${prefix}/lib/mariadb/mysql 132 configure.args-append --with-mysql=${prefix}/lib/mariadb 125 133 } 126 134 127 135 variant percona conflicts mysql5 mysql51 mysql55 mariadb description {Enable Percona support} { 128 136 depends_lib-append port:percona 129 137 configure.args-delete --without-mysql 130 configure.args-append --with-mysql-includes=${prefix}/include/percona/mysql \ 131 --with-mysql-libs=${prefix}/lib/percona/mysql 138 configure.args-append --with-mysql=${prefix}/lib/percona 132 139 } 133 140 134 141 if {![variant_isset postgresql82] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset mysql5] && ![variant_isset mysql51] && ![variant_isset mysql55] && ![variant_isset mysql56] && ![variant_isset mariadb] && ![variant_isset percona]} {