ports/146146: [patch] net-mgmt/p5-Cflow: add OPTIONS support

Frank Wall fw at moov.de
Fri May 7 10:09:50 UTC 2010


> >Synopsis:       [patch] net-mgmt/p5-Cflow: add OPTIONS support
> >Arrival-Date:   Thu Apr 29 09:00:12 UTC 2010

Well, my patch is wrong. Attached is a new working patch.
Besides that the new patch passes the maintainership to me (was: ports at FreeBSD.org).

-------------- next part --------------
--- net-mgmt/p5-Cflow/Makefile.orig	2010-05-07 10:14:19.000000000 +0200
+++ net-mgmt/p5-Cflow/Makefile	2010-05-07 10:39:55.000000000 +0200
@@ -13,12 +13,16 @@
 		http://net.doit.wisc.edu/~plonka/Cflow/old/
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	fw at moov.de
 COMMENT=	Analyze raw flow files written by cflowd (Cisco NetFlow data)
 
+OPTIONS=	FLOW_TOOLS	"Enable flow-tools support"	off
+
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_FLOW_TOOLS)
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
 RUN_DEPENDS+=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
+BUILD_DEPENDS+=	${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
 
 CFLAGS+=	-I${LOCALBASE}/include -DOSU
 CONFIGURE_ARGS+=	\
@@ -30,4 +34,4 @@
 MAN1=		flowdumper.1
 MAN3=		Cflow.3
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the freebsd-ports-bugs mailing list