ports/106472: databases/postgresql-pltcl: INDEX build fails when postgresql-server-8.2.0 is installed
Kostik Belousov
kostikbel at gmail.com
Fri Dec 8 10:21:19 UTC 2006
>Number: 106472
>Category: ports
>Synopsis: databases/postgresql-pltcl: INDEX build fails when postgresql-server-8.2.0 is installed
>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: Fri Dec 08 10:20:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Kostik Belousov
>Release: RELENG_6
>Organization:
-
>Environment:
>Description:
This is the same as ports/106471:
portsdb -Uu output:
Updating the ports index ... Generating INDEX.tmp - please wait.."Makefile", line 50: Could not find /usr/ports/databases/postgresql-pltcl/../postgresql-server/Makefile
make: fatal errors encountered -- cannot continue
===> databases/postgresql-pltcl failed
*** Error code 1
1 error
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /usr/local/arch/ncvs/ports/databases/postgresql-pltcl/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 3 Feb 2005 09:30:27 -0000 1.16
+++ Makefile 8 Dec 2006 10:12:33 -0000
@@ -27,7 +27,7 @@
# Setting/finding PostgreSQL version we want.
.if exists(${LOCALBASE}/bin/postmaster)
-PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/postmaster.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
+PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | ${SED} -n -E 's/(postmaster|postgres).*PostgreSQL[^0-9]*([0-9][0-9]*)\.([0-9][0-9]*)\..*/\2\3/p'
.elif exists(${LOCALBASE}/bin/pg_config)
PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
.else
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list