ports/137715: net-mgmt/flow-tools-ng fix build with postgresql

Volodymyr Kostyrko c.kworr at gmail.com
Thu Aug 13 05:20:04 UTC 2009


>Number:         137715
>Category:       ports
>Synopsis:       net-mgmt/flow-tools-ng fix build with postgresql
>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:   Thu Aug 13 05:20:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Volodymyr Kostyrko
>Release:        8-CURRENT
>Organization:
>Environment:
FreeBSD limbo.lan 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Mon Aug  3 09:02:53 EEST 2009     arcade at limbo.lan:/usr/obj/usr/src/sys/MINIMAL_8  i386
>Description:
I have received some comments that people can't build the port with PostgreSQL support. I have found some time to investigate the problem. The problem was here from the beginning - forked build used more recent autoconf/libtool versions and option for enabling PostgreSQL support shifted from --with-pgsql[=/library/prefix] to --with-postgresql[=/path/to/pg_config]. The following patch fixes that.
>How-To-Repeat:
Build port with PostgreSQL support.
>Fix:
Following patch fixes port building.

Patch attached with submission follows:

--- Makefile	2009-08-09 04:29:13.000000000 +0300
+++ Makefile	2009-08-12 21:50:16.748964174 +0300
@@ -7,6 +7,7 @@
 
 PORTNAME=	flow-tools
 PORTVERSION=	0.68.4.2
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 PKGNAMESUFFIX=	-ng
@@ -49,7 +50,7 @@
 FLOW_CAPTURE_PIDDIR=	${VARDIR}/run/flow-capture
 
 .if defined(WITH_PGSQL)
-CONFIGURE_ARGS+=--with-postgresql="${PREFIX}"
+CONFIGURE_ARGS+=--with-postgresql
 USE_PGSQL=	yes
 .else
 CONFIGURE_ARGS+=--without-postgresql


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



More information about the freebsd-ports-bugs mailing list