From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 8 10:21:19 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AD9416A40F for ; Fri, 8 Dec 2006 10:21:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80A4443DB9 for ; Fri, 8 Dec 2006 10:19:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB8AKBcr066475 for ; Fri, 8 Dec 2006 10:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB8AKBKL066474; Fri, 8 Dec 2006 10:20:11 GMT (envelope-from gnats) Resent-Date: Fri, 8 Dec 2006 10:20:11 GMT Resent-Message-Id: <200612081020.kB8AKBKL066474@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kostik Belousov Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F229B16A416 for ; Fri, 8 Dec 2006 10:16:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id C342A43CA2 for ; Fri, 8 Dec 2006 10:15:44 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB8AGfQh089975 for ; Fri, 8 Dec 2006 10:16:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kB8AGfDa089974; Fri, 8 Dec 2006 10:16:41 GMT (envelope-from nobody) Message-Id: <200612081016.kB8AGfDa089974@www.freebsd.org> Date: Fri, 8 Dec 2006 10:16:41 GMT From: Kostik Belousov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/106472: databases/postgresql-pltcl: INDEX build fails when postgresql-server-8.2.0 is installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 10:21:19 -0000 >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: