svn commit: r417292 - head/Mk/Uses
Matthew Seaman
matthew at FreeBSD.org
Wed Jun 22 06:27:59 UTC 2016
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
More information about the svn-ports-all
mailing list