Page MenuHomeFreeBSD

Allow WANT_PGSQL=lib to be combined with other pgsql components.
AbandonedPublic

Authored by matthew on Jun 19 2016, 11:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 13 2024, 7:14 PM
Unknown Object (File)
Mar 13 2024, 7:08 PM
Unknown Object (File)
Dec 20 2023, 12:25 AM
Unknown Object (File)
Dec 14 2023, 10:54 PM
Unknown Object (File)
Nov 20 2023, 4:25 PM
Unknown Object (File)
Sep 25 2023, 6:21 PM
Unknown Object (File)
Sep 16 2023, 12:18 AM
Unknown Object (File)
Aug 25 2023, 8:40 AM
Subscribers

Details

Reviewers
jgh
girgen
crees
matthew
Group Reviewers
portmgr
Summary

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.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4273
Build 4317: arc lint + arc unit

Event Timeline

matthew retitled this revision from to Allow WANT_PGSQL=lib to be combined with other pgsql components..
matthew updated this object.
matthew edited the test plan for this revision. (Show Details)
Mk/Uses/pgsql.mk
133

This can simply be ${WANT_PGSQL:Mlib}

crees edited edge metadata.

Ok, fine- I wrote this bit before pkg did all the cool lib bump stuff.

Please commit Mat's version. I'm sure an exprun can't possibly be needed??

matthew edited edge metadata.
  • ${WANT_PGSQL:Mlib} is sufficient, doesn't need '== lib'
matthew abandoned this revision.
matthew added a reviewer: matthew.

This was already committed, but there seems no way to persuade Phabricator of that fact, so the only option is to abandon it.