ports/146145: [patch] net-mgmt/flow-tools: add OPTIONS support

Frank Wall fw at moov.de
Fri May 7 10:36:28 UTC 2010


> 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.

-------------- next part --------------
--- 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 at 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>


More information about the freebsd-ports-bugs mailing list