From nobody@FreeBSD.org  Fri Jul  8 18:15:45 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8A18F1065676
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Jul 2011 18:15:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 790E38FC24
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Jul 2011 18:15:45 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p68IFjBS023003
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 8 Jul 2011 18:15:45 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p68IFj87023002;
	Fri, 8 Jul 2011 18:15:45 GMT
	(envelope-from nobody)
Message-Id: <201107081815.p68IFj87023002@red.freebsd.org>
Date: Fri, 8 Jul 2011 18:15:45 GMT
From: Pierre David <pdagog@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Postgresql-pltcl build with PostgreSQL 9.1 beta
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         158740
>Category:       ports
>Synopsis:       databases/postgresql-pltcl build with PostgreSQL 9.1 beta
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    girgen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 08 18:20:01 UTC 2011
>Closed-Date:    Tue Jul 26 13:39:13 UTC 2011
>Last-Modified:  Tue Jul 26 13:39:13 UTC 2011
>Originator:     Pierre David
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD biceps.ma.maison 9.0-CURRENT FreeBSD 9.0-CURRENT #27: Sun Jun 26 12:34:05 CEST 2011     pda@biceps:/usr/obj/usr/src/sys/BICEPS  amd64

>Description:
Build databases/postgresql-pltcl fails with PostgreSQL 9.1 ports


>How-To-Repeat:
# portinstall databases/postgresql91-server
# portinstall postgresql-pltcl
>Fix:


Patch attached with submission follows:

--- postgresql-pltcl/Makefile.bak	2011-06-03 14:08:02.515661925 +0200
+++ postgresql-pltcl/Makefile	2011-07-08 20:09:14.034581057 +0200
@@ -28,9 +28,9 @@
 
 # Setting/finding PostgreSQL version we want.
 .if exists(${LOCALBASE}/bin/postmaster)
-PGSQL_VER!=	${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
+PGSQL_VER!=	${LOCALBASE}/bin/postmaster -V | ${SED} -n 's/.*PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1\2/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'
+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
 PGSQL_VER=	${DEFAULT_PGSQL_VER}
 .endif


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->girgen 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jul 8 19:18:53 UTC 2011 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158740 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/158740: commit references a PR
Date: Tue, 26 Jul 2011 13:14:27 +0000 (UTC)

 girgen      2011-07-26 13:13:53 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/postgresql-pltcl Makefile 
   Log:
   accept version 9.1beta3
   PR:     158740
   
   Revision  Changes    Path
   1.24      +2 -2      ports/databases/postgresql-pltcl/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: girgen 
State-Changed-When: Tue Jul 26 13:38:51 UTC 2011 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158740 
>Unformatted:
