[Bug 238799] net/py-libdnet: Fails to make showconfig or make clean
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 25 10:50:37 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238799
dewayne at heuristicsystems.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-qa
Resolution|Not A Bug |Works As Intended
--- Comment #5 from dewayne at heuristicsystems.com.au ---
(In reply to dewayne from comment #4)
This port doesn't build within a jail that doesn't have /dev/bpf0. There is a
test in configure that checks this event. I think that the better way is to
NOT check for any /dev/bpf, where folks build if very low functionality jails.
I recall years ago adding bpf to the jail for something like isc-dhcpd-server
or similar that must have bpf, probably for the same reason. Regardless I have
one and this takes care of it; it also provides a clue as to where the test is,
if someone would like to remove. :)
--- /usr/ports/net/libdnet/Makefile (revision 505080)
+++ /usr/ports/net/libdnet/Makefile (working copy)
@@ -26,4 +26,7 @@
USE_LDCONFIG= yes
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|/dev/bpf0|/dev/bpf|g'
${WRKSRC}/m4/ac_dnet_bsd_bpf.m4
+
.include <bsd.port.mk>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list