From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 13 05:20:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4BDF1065674 for ; Thu, 13 Aug 2009 05:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9275C8FC43 for ; Thu, 13 Aug 2009 05:20:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7D5K3PD073555 for ; Thu, 13 Aug 2009 05:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7D5K30u073554; Thu, 13 Aug 2009 05:20:03 GMT (envelope-from gnats) Resent-Date: Thu, 13 Aug 2009 05:20:03 GMT Resent-Message-Id: <200908130520.n7D5K30u073554@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volodymyr Kostyrko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 134E9106564A for ; Thu, 13 Aug 2009 05:17:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C10A68FC16 for ; Thu, 13 Aug 2009 05:17:05 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7D5H5Xx097394 for ; Thu, 13 Aug 2009 05:17:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7D5H5GC097393; Thu, 13 Aug 2009 05:17:05 GMT (envelope-from nobody) Message-Id: <200908130517.n7D5H5GC097393@www.freebsd.org> Date: Thu, 13 Aug 2009 05:17:05 GMT From: Volodymyr Kostyrko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/137715: net-mgmt/flow-tools-ng fix build with postgresql X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 05:20:04 -0000 >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: