Bug 6527 - ports: p5-DBD-Pg depends on wrong library version
Summary: ports: p5-DBD-Pg depends on wrong library version
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 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-05-05 18:30 UTC by blank
Modified: 1998-05-10 23:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description blank 1998-05-05 18:30:02 UTC
The port still depends on version 1.0 of libpq:

BUILD_DEPENDS=  ${PREFIX}/lib/perl5/site_perl/DBI.pm:${PORTSDIR}/databases/p5-DBI \
                ${PREFIX}/pgsql/lib/libpq.so.1.0:${PORTSDIR}/databases/postgresql

The version 1.0 for libpq is no longer valid for PostgreSQL 6.3.2 as it
now comes with version 1.1.  Therefore the Makefile fails to detect
libpq even though it is installed on the system.

Fix: 

Raise the version number from 1.0 to 1.1 in the BUILD_DEPENDS line.  I
have done this myself and now the port builds correctly again.

One issue needs to be considered though: This fix will break the port
on systems where 6.3.0 (or 6.3.1, I'm not sure) is still installed,
because that version comes with libpq.so.1.0.  Therefore it should be
considered that the PostgreSQL port creates a symlink from libpq.so.1.?
to libpq.so.1 and p5-DBD-Pg depends on libpq.so.1 instead of
libpq.so.1.?

--
             Sascha Blank            | "I prefer to work behind the scenes. The
   Student and System Administrator  | reward is nearly as great,  and the risk
 at the University of Trier, Germany | is far far less" - Ambassador Mollari in
    mailto:blank@fox.uni-trier.de    | in Babylon 5, "The coming of shadows"
How-To-Repeat: 
Try to build this port yourself and watch what happens.
Comment 1 Steve Price freebsd_committer freebsd_triage 1998-05-10 23:15:30 UTC
State Changed
From-To: open->closed

Fixed, thanks for the report.