Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2017 18:22:52 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        dvl@freebsd.org, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r446835 - head/sysutils/bacula-server
Message-ID:  <86d18jciw3.fsf@desk.des.no>
In-Reply-To: <35db3ebc-f3c4-4c72-20e7-f13ec43598aa@FreeBSD.org> (Mathieu Arnold's message of "Fri, 28 Jul 2017 17:04:55 %2B0200")
References:  <201707281459.v6SExFL1019513@repo.freebsd.org> <35db3ebc-f3c4-4c72-20e7-f13ec43598aa@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mathieu Arnold <mat@FreeBSD.org> writes:
> That cannot possibly do anything to fix the build.
>
> If the PGSQL option is enabled, this translates into a:
>
> USE_USES+=3Dpgsql
>
> 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=3D              MYSQL=3Dyes
SQLITE3_LIB_DEPENDS=3D    libsqlite3.so:databases/sqlite3
PGSQL_USE=3D		USES+=3Dpgsql

should in fact be

MYSQL_USES=3D             mysql
SQLITE3_USES=3D           sqlite:3
PGSQL_USES=3D             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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d18jciw3.fsf>