On 4 Jan 2013 21:03, "Sergey V. Dyatko" <ti...@agava.com> wrote: > > On Fri, 4 Jan 2013 23:50:29 +0300 > "Sergey V. Dyatko" <sergey.dya...@gmail.com> wrote: > > > On Fri, 4 Jan 2013 20:17:29 +0000 (UTC) > > "Helmut Schneider" <jumpe...@gmx.de> wrote: > > > > > Sergey V. Dyatko wrote: > > > > > > > On Fri, 4 Jan 2013 19:38:05 +0000 > > > > Chris Rees <utis...@gmail.com> wrote: > > > > > > > > > On 4 Jan 2013 19:06, "Helmut Schneider" <jumpe...@gmx.de> wrote: > > > > > > > > > > > > Hi, > > > > > > > > > > > > what does USE_MYSQL=yes do, require mysql-server, or > > > > > > mysql-client? If mysql-client, how can I depend on the server > > > > > > (or v.v.)? > > > > > > > > > > Client. Using WANT_MYSQL_VER or IGNORE_MYSQL_VER will allow you > > > > > to choose versions; see Mk/bsd.database.mk. > > > > > > > > > > Currently you can't depend on mysql-server; is there a reason > > > > > you would want to? > > > > > > > > > > > > > > metaport, for example. > > > > > > > > In that case RUN_DEPENDS his friend, I think :) > > > > > > Not sure. I maintain an application where you may or may not install > > > mysql-server locally. I'd like to add an option (default off) to > > > install mysql-server locally. > > > > > possible something like... > > > > > > > RUN_DEPENDS+= > > ${LOCALBASE}/bin/mysql:${PORTSDIR}/databases/mysql55-server > > .endif > > > > > hm... error ^^^^^.. s/bin/libexec/ and should be something like this: > > .if ${PORT_OPTIONS:MWITH_MYSQL_SERVER} > USE_MYSQL= server > .endif
No. The first example installs only one version which could be wrong, and the second version only works with USE_PGSQL. This is a pointless exercise, please don't make complex dependencies. Chris _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"