Date: Sat, 30 Jul 2011 23:43:25 +0200 (CEST) From: Martin Neubauer <mn@shodan.homeunix.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/159319: databases/postgresql-plpython doesn't build with postgresql91 Message-ID: <201107302143.p6ULhPAJ065771@shodan.homeunix.net> Resent-Message-ID: <201107302220.p6UMK9R3097147@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159319 >Category: ports >Synopsis: databases/postgresql-plpython doesn't build with postgresql91 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 30 22:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Martin Neubauer >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD shodan.homeunix.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Jul 27 10:02:33 CEST 2011 root@shodan.homeunix.net:/usr/obj/usr/src/sys/SHODAN amd64 >Description: The regex for getting the postgresql version doesn't match the output for version 9.1beta3 causing the build to fail. >How-To-Repeat: >Fix: See attached patch (cf. http://www.freebsd.org/cgi/query-pr.cgi?pr=158740) --- postgresql-plpython.patch begins here --- --- databases/postgresql-plpython/Makefile.bak 2011-04-05 08:29:48.000000000 +0200 --- databases/postgresql-plpython/Makefile 2011-07-30 23:21:23.204359643 +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 --- postgresql-plpython.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107302143.p6ULhPAJ065771>