svn commit: r446835 - head/sysutils/bacula-server

Dag-Erling Smørgrav des at des.no
Sat Jul 29 16:22:58 UTC 2017


Mathieu Arnold <mat at FreeBSD.org> writes:
> That cannot possibly do anything to fix the build.
>
> If the PGSQL option is enabled, this translates into a:
>
> USE_USES+=pgsql
>
> I mean, it will not break the build more than it is already broken, but
> this variable is not used, ever.

I'm confused.  It seemed to work when I tested it on my laptop, but I
see now that it doesn't.  I suppose these lines:

MYSQL_USE=              MYSQL=yes
SQLITE3_LIB_DEPENDS=    libsqlite3.so:databases/sqlite3
PGSQL_USE=		USES+=pgsql

should in fact be

MYSQL_USES=             mysql
SQLITE3_USES=           sqlite:3
PGSQL_USES=             pgsql

Is that correct?

In any case, it turns out that my problem isn't that bacula-server won't
build with PGSQL, but that when multiple backends are enabled, it will
build only one (MYSQL if enabled, otherwise SQLITE3 if enabled, and
finally PGSQL).  Fixing that will require quite a bit of work both in
the Makefile and in the plist.  I'll see what I can do.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-ports-all mailing list