ports/159319: databases/postgresql-plpython doesn't build with postgresql91

Martin Neubauer mn at shodan.homeunix.net
Sat Jul 30 22:20:10 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list