ports/62741: [ports/databases/p5-postgresql-plperl] Fix: make install/package failed
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Thu Feb 12 17:40:10 UTC 2004
>Number: 62741
>Category: ports
>Synopsis: [ports/databases/p5-postgresql-plperl] Fix: make install/package failed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 12 09:40:09 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD IRIS.sunpoet.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Dec 21 18:12:22 CST 2003 root@:/usr/obj/usr/src/sys/sunpoet i386
>Description:
Since postgresql dependency has been updated from postgresql7 to
postgresql-client, p5-postgresql-plperl/Makefile was updated (rev
1.10 -> 1.11).
p5-postgresql-plperl/Makefile includes ${POSTGRSQL_PORT}/Makefile.
In revision 1.11 of p5-postgresql-plperl/Makefile, it changed
POSTGRESQL_PORT to databases/postgresql-client.
POSTGRESQL_PORT?= databases/postgresql-client
Note that there exists MASTERDIR=${.CURDIR}/../../databases/postgresql7
in postgresql-client/Makefile. It affects both PKGMESSAGE and PLIST which
are defined in ports/Mk/bsd.port.mk as follows:
PKGDIR?= ${MASTERDIR}
PLIST?= ${PKGDIR}/pkg-plist
PKGMESSAGE?= ${PKGDIR}/pkg-message
To solve this problem, you may simple define:
1. PKGDIR=.
or
2. PLIST=pkg-plist
PKGMESSAGE=pkg-message
>How-To-Repeat:
% cd /usr/ports/databases/p5-postgresql-plperl
% make all install
It stops because ports/databases/postgresql7/pkg-message is missing.
% make package
It stops for wrong PLIST.
>Fix:
--- Makefile.orig Thu Feb 12 18:13:43 2004
+++ Makefile Fri Feb 13 01:19:15 2004
@@ -16,6 +16,7 @@
POSTGRESQL_PORT?= databases/postgresql-client
POSTGRESQL_SUBPORT=YES
.include "../../${POSTGRESQL_PORT}/Makefile"
+PKGDIR= .
RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list