Date: Thu, 13 Aug 2009 05:17:05 GMT From: Volodymyr Kostyrko <c.kworr@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/137715: net-mgmt/flow-tools-ng fix build with postgresql Message-ID: <200908130517.n7D5H5GC097393@www.freebsd.org> Resent-Message-ID: <200908130520.n7D5K30u073554@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908130517.n7D5H5GC097393>