The port net-mgmt/p5-Cflow has the option WITH_FLOW_TOOLS. This option depends on net-mgmt/flow-tools. When you try to build net-mgmt/p5-Cflow with this option it will fail, if net-mgmt/flow-tools was not installed before. Fix: Add net-mgmt/flow-tools to BUILD_DEPENS: BUILD_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools Patch attached with submission follows: How-To-Repeat: 1. make sure net-mgmt/flow-tools is NOT installed 2. try to build net-mgmt/p5-Cflow: WITH_FLOW_TOOLS=1 make -C /usr/ports/net-mgmt/p5-Cflow 3. it fails complaining that ftlib.h from net-mgmt/flow-tools is missing: ===> Building for p5-Cflow-1.053 cp Cflow.pm blib/lib/Cflow.pm AutoSplitting blib/lib/Cflow.pm (blib/lib/auto/Cflow) /usr/local/bin/perl5.8.9 /usr/local/lib/perl5/5.8.9/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.9/ExtUtils/typemap Cflow.xs > Cflow.xsc && mv Cflow.xsc Cflow.c cc -c -I/usr/local/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include -DOSU -O2 -fno-strict-aliasing -pipe -DVERSION=\"1.053\" -DXS_VERSION=\"1.053\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.9/mach/CORE" Cflow.c Cflow.xs:62:21: error: ftlib.h: No such file or directory Cflow.xs: In function 'XS_Cflow_find': Cflow.xs:575: error: storage size of 'fs' isn't known Cflow.xs:580: error: storage size of 'ftv' isn't known Cflow.xs:669: error: 'FT_IO_FLAG_READ' undeclared (first use in this function) Cflow.xs:669: error: (Each undeclared identifier is reported only once Cflow.xs:669: error: for each function it appears in.) Cflow.xs:761: error: storage size of 'first' isn't known Cflow.xs:761: error: storage size of 'last' isn't known Cflow.xs:763: warning: assignment makes pointer from integer without a cast Cflow.xs:767: error: dereferencing pointer to incomplete type
Responsible Changed From-To: freebsd-ports-bugs->miwi I'll take it.
State Changed From-To: open->closed Committed. Thanks!
miwi 2009-07-05 22:00:49 UTC FreeBSD ports repository Modified files: net-mgmt/p5-Cflow Makefile Log: - Add missing dependency PR: 136284 Submitted by: Frank Wall <fw@moov.de> Revision Changes Path 1.16 +2 -0 ports/net-mgmt/p5-Cflow/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"