ports/159844: [PATCH] postgresql90-client: fix build

Ruslan Mahmatkhanov cvs-src at yandex.ru
Wed Aug 17 17:50:02 UTC 2011


>Number:         159844
>Category:       ports
>Synopsis:       [PATCH] postgresql90-client: fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 17 17:50:02 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        9.0-BETA1
>Organization:
>Environment:
9.0-BETA1 i386
>Description:
Since 9.0 PostgreSQL guys use docbook for building all the 
documentation, including man-pages. They ever listed all the 
dependencies needed on FreeBSD to make it build. See [1]. But because 
our postgresql-client ports didn't include needed dependencies, their 
build are broken.

Please see this message for detailed descriptions and build logs:
http://lists.freebsd.org/pipermail/freebsd-ports/2011-August/069274.html

[1] http://www.postgresql.org/docs/9.0/static/docguide-toolsets.html

Attached patch is for databases/postgresql90-client. The same fix should be applied for databases/postgresql91-client to make it build.

changes:
- add dependencies on textproc/openjade, textproc/libxslt, textproc/docbook-420,
  textproc/docbook-xml
- bump portrevisions

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruNa postgresql90-client.orig/Makefile postgresql90-client/Makefile
--- postgresql90-client.orig/Makefile	2011-05-03 01:37:30.000000000 +0400
+++ postgresql90-client/Makefile	2011-08-16 18:27:33.000000000 +0400
@@ -9,10 +9,15 @@
 
 PORTNAME=	postgresql
 PKGNAMESUFFIX=	-client
-PORTREVISION=	1
+PORTREVISION=	2
 
 COMMENT=	PostgreSQL database (client)
 
+BUILD_DEPENDS=	openjade:${PORTSDIR}/textproc/openjade \
+		xsltproc:${PORTSDIR}/textproc/libxslt \
+		${LOCALBASE}/share/sgml/docbook/4.2/docbook.dtd:${PORTSDIR}/textproc/docbook-420 \
+		${LOCALBASE}/share/xml/docbook/4.2/catalog.xml:${PORTSDIR}/textproc/docbook-xml
+
 MASTERDIR=	${.CURDIR}/../postgresql90-server
 
 BUILD_DIRS=	config src/include src/interfaces src/port \


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list