FreeBSD Bugzilla – Bug 96273
[MAINTAINER]: Unbreak net/bittwist on 5.x.
Last modified: 2006-04-25 12:29:47 UTC
net/bittwist uses round() which is only available in 5.3 and higher. It
also depends upon a relatively recent version of libpcap which only
exists in the base of 6.0 and up. The attached patch marks it as
broken on 5.2 and lower, and depends on net/libpcap for 5.3 up to 6.0.
While I'm here it also incorporates a patch to fix up the hardcoding of
CFLAGS and CC in the port's Makefile.
I guess this will teach me to keep a 5.x VM handy. :(
: Pointed out to me by Kris Kennaway via pointyhat.
: Pointed out to me by Kris Kennaway.
Committed with minor modification: through MAKE_ARGS it's possible
to avoid patching the Makefile.
You might want to consider droppping pkg-plist in favour of
PLIST_FILES on a future update ("Save an inode today"-campaign :)