Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2010 12:33:28 +0200
From:      Frank Wall <fw@moov.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/146145: [patch] net-mgmt/flow-tools: add OPTIONS support
Message-ID:  <20100507103328.GB78045@luzy.moov.de>
In-Reply-To: <201004290850.o3T8o34W047268@freefall.freebsd.org>
References:  <201004290849.o3T8nOeY014589@www.freebsd.org> <201004290850.o3T8o34W047268@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--8GpibOaaTibBMecb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> Synopsis:       [patch] net-mgmt/flow-tools: add OPTIONS support
> Arrival-Date:   Thu Apr 29 08:50:03 UTC 2010

Well, my patch is wrong. Attached is a new working patch.


--8GpibOaaTibBMecb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch_flow.txt"

--- net-mgmt/flow-tools/Makefile.orig	2008-11-16 23:39:21.000000000 +0100
+++ net-mgmt/flow-tools/Makefile	2010-05-07 10:40:02.000000000 +0200
@@ -14,6 +14,10 @@
 MAINTAINER=	stas@FreeBSD.org
 COMMENT=	Suite of tools and library to work with netflow data
 
+OPTIONS=	MYSQL	"Enable MySQL support"		off \
+		OPENSSL	"Enable OpenSSL support"	off \
+		PGSQL	"Enable PostgreSQL support"	off
+
 CONFLICTS=	flow-tools-ng-[0-9]*
 
 USE_PYTHON_RUN=	yes
@@ -45,6 +49,8 @@
 FLOW_CAPTURE_GID=	174
 FLOW_CAPTURE_PIDDIR=	${VARDIR}/run/flow-capture
 
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_PGSQL)
 CONFIGURE_ARGS+=--with-pgsql="${PREFIX}"
 USE_PGSQL=	yes
@@ -76,4 +82,4 @@
 	@${SETENV} ${SCRIPTS_ENV} \
 		${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

--8GpibOaaTibBMecb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100507103328.GB78045>