ports/85441: tcptraceroute-1.4 port is broken if libnet-devel is installed
Vasil Dimov
vd at datamax.bg
Mon Aug 29 16:10:30 UTC 2005
The following reply was made to PR ports/85441; it has been noted by GNATS.
From: Vasil Dimov <vd at datamax.bg>
To: David Landgren <david at landgren.net>
Cc: freebsd-gnats-submit at FreeBSD.org, bug-followup at freebsd.org
Subject: Re: ports/85441: tcptraceroute-1.4 port is broken if libnet-devel is installed
Date: Mon, 29 Aug 2005 19:02:42 +0300
On Mon, Aug 29, 2005 at 03:38:26PM +0000, David Landgren wrote:
> The port should either know how to use libnet-devel, or complain about the incompatibility.
This is the trivial fix: libnet installs libpwrite.a, and libnet-devel
does not. If libnet-devel is installed the port will not detect
libpwrite.a and will attempt to install net/libnet which will fail with
error "conflicting with installed libnet-devel". This seems to be quite
a little more explanative.
This is not very robust in means that some future version of
libnet-devel may install libpwrite.a...
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/tcptraceroute/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 13 Apr 2005 14:30:01 -0000 1.5
+++ Makefile 29 Aug 2005 15:51:38 -0000
@@ -13,7 +13,7 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= A traceroute implementation using TCP packets
-BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+BUILD_DEPENDS= ${LOCALBASE}/lib/libpwrite.a:${PORTSDIR}/net/libnet
MAN8= tcptraceroute.8
More information about the freebsd-ports-bugs
mailing list