Date: Wed, 22 Jun 2016 06:27:58 +0000 (UTC) From: Matthew Seaman <matthew@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417292 - head/Mk/Uses Message-ID: <201606220627.u5M6RwkW059922@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: matthew Date: Wed Jun 22 06:27:58 2016 New Revision: 417292 URL: https://svnweb.freebsd.org/changeset/ports/417292 Log: WANT_PGSQL=lib adds a LIB_DEPENDS on postgresglXY-client (this is also the default when WANT_PGSQL is not defined). Compare to WANT_PGSQL=client which only adds a RUN_DEPENDS on postgresqlXY-client. 'client' can be part of a list of different components, but 'lib' is ignored if any other terms are specified, which seems an arbitrary and incorrect restriction. WANT_PGSQL=lib allows expressing that the port links against libpq.so.X rather than just needing one of the client programs like psql(1) at runtime. However, other than that there is little practical difference between 'lib' and 'client' on the resulting pkg. Approved by: crees (pgsql@) Sponsored by: https://reviews.freebsd.org/D6893 Modified: head/Mk/Uses/pgsql.mk Modified: head/Mk/Uses/pgsql.mk ============================================================================== --- head/Mk/Uses/pgsql.mk Wed Jun 22 06:19:53 2016 (r417291) +++ head/Mk/Uses/pgsql.mk Wed Jun 22 06:27:58 2016 (r417292) @@ -130,7 +130,7 @@ IGNORE?= cannot install: does not work . endfor . endif # IGNORE_WITH_PGSQL -.if !defined(WANT_PGSQL) || ${WANT_PGSQL} == lib +.if !defined(WANT_PGSQL) || ${WANT_PGSQL:Mlib} LIB_DEPENDS+= libpq.so.${PGSQL${PGSQL_VER_NODOT}_LIBVER}:databases/postgresql${PGSQL_VER_NODOT}-client .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606220627.u5M6RwkW059922>