Bug 54252 - [patch] database/postgresql-tcltk should depend on postgresql-client, not server
Summary: [patch] database/postgresql-tcltk should depend on postgresql-client, not server
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-09 10:50 UTC by stolz
Modified: 2003-07-13 16:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stolz 2003-07-09 10:50:11 UTC
Currently, postgresql-tcltk requires a full postgresql-installation and will fail
if the postgresql-port has been installed with -DWITHOUT_SERVER -- although it
clearly should not! This breaks e.g. pgaccess.

Fix: 

Modify postgresql-tcltk's RUN_DEPENDS from
  RUN_DEPENDS=    postgresql:${PORTSDIR}/${POSTGRESQL_PORT}	(server binary)
to
  RUN_DEPENDS=    psql:${PORTSDIR}/${POSTGRESQL_PORT}		(client binary)

Rationale: 'psql' will always be present while 'postgresql' won't as mentioned
in the description.

[Is RUN_DEPENDS necessary at all?]

Volker
How-To-Repeat: Install postgresql-client, try to install pgaccess/postgresql-tcltk: failure
Comment 1 Ceri Davies freebsd_committer freebsd_triage 2003-07-11 19:11:32 UTC
Adding to audit trail, from misfiled PR ports/54287:

Date: Thu, 10 Jul 2003 00:46:30 +0200
From: Palle Girgensohn <girgen@pingpong.net>
Message-Id: <13270000.1057790790@palle.girgensohn.se>
References: <200307090945.h699j8YJ077849@menelaos.informatik.rwth-aachen.de>

 Hi,
 
 Thanks for pointing this out. The RUN_DEPENDS is actually not needed for 
 the postgresql-tcltk. Please remove it.
 
 Please go ahead and commit the supplied patch.
 
 Palle /maintainer
Comment 2 alex freebsd_committer freebsd_triage 2003-07-13 16:45:37 UTC
State Changed
From-To: open->closed

Committed, thanks