Date: Fri, 8 Jul 2011 18:15:45 GMT From: Pierre David <pdagog@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158740: Postgresql-pltcl build with PostgreSQL 9.1 beta Message-ID: <201107081815.p68IFj87023002@red.freebsd.org> Resent-Message-ID: <201107081820.p68IK1Qv012005@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107081815.p68IFj87023002>