From owner-svn-ports-head@freebsd.org Sat Jul 29 16:22:58 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A87EDC6A21; Sat, 29 Jul 2017 16:22:58 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 39145707B2; Sat, 29 Jul 2017 16:22:57 +0000 (UTC) (envelope-from des@des.no) Received: from desk.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id 234B899E4; Sat, 29 Jul 2017 16:22:51 +0000 (UTC) Received: by desk.des.no (Postfix, from userid 1001) id 9FF3E48A30; Sat, 29 Jul 2017 18:22:52 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Mathieu Arnold 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 References: <201707281459.v6SExFL1019513@repo.freebsd.org> <35db3ebc-f3c4-4c72-20e7-f13ec43598aa@FreeBSD.org> Date: Sat, 29 Jul 2017 18:22:52 +0200 In-Reply-To: <35db3ebc-f3c4-4c72-20e7-f13ec43598aa@FreeBSD.org> (Mathieu Arnold's message of "Fri, 28 Jul 2017 17:04:55 +0200") Message-ID: <86d18jciw3.fsf@desk.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2017 16:22:58 -0000 Mathieu Arnold 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