ports/158740: Postgresql-pltcl build with PostgreSQL 9.1 beta

Pierre David pdagog at gmail.com
Fri Jul 8 18:20:10 UTC 2011


>Number:         158740
>Category:       ports
>Synopsis:       Postgresql-pltcl build with PostgreSQL 9.1 beta
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 08 18:20:01 UTC 2011
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list