ports/172623: [patch] net/tcpillust fails to build when net/libpcap installed

Cy Schubert (cy) cy at FreeBSD.org
Fri Oct 12 00:54:29 UTC 2012


>Number:         172623
>Category:       ports
>Synopsis:       [patch] net/tcpillust fails to build when net/libpcap installed
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 12 00:54:29 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Cy Schubert (cy at FreeBSD.org)
>Release:        FreeBSD 9.1-PRERELEASE i386
>Organization:
FreeBSD.org
>Environment:
System: FreeBSD slippy 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r241416M: Wed Oct 10 16:13:20 PDT 2012 root at slippy:/usr/obj/opt/src/svn-stable9/sys/BREAK2 i386


>Description:
net/tcpillust fails to build when net/libpcap is installed.
>How-To-Repeat:
Install net/libpcap then try to build net/tcpillust.
>Fix:


Index: Makefile
===================================================================
--- Makefile	(revision 305739)
+++ Makefile	(working copy)
@@ -7,7 +7,7 @@
 
 PORTNAME=	tcpillust
 PORTVERSION=	2.01
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	net tcl tk
 MASTER_SITES=	http://www.jp.nishida.org/tcpillust/
@@ -34,10 +34,10 @@
 
 do-build:
 .for file in binread.c button.c draw.c parser.c tcpillust.c tcpdump/print-tcp.c
-	${CC} ${CFLAGS} -I${LOCALBASE}/include/ -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \
+	${CC} ${CFLAGS} -I/usr/include -I/usr/include/pcap -I${LOCALBASE}/include/ -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \
 	-I${LOCALBASE}/include -DILTDIR=\"${DATADIR}\" -c ${WRKSRC}/${file} -o ${WRKSRC}/${file:S/.c/.o/}
 .endfor
-	${CC} ${CFLAGS} -L${TCL_LIBDIR} -L${TK_LIBDIR} -L${LOCALBASE}/lib \
+	${CC} ${CFLAGS} -L/lib -L/usr/lib -L${TCL_LIBDIR} -L${TK_LIBDIR} -L${LOCALBASE}/lib \
 	-lm -ltcl${TCL_VER:S/.//} -ltk${TK_VER:S/.//} ${WRKSRC}/*.o ${WRKSRC}/tcpdump/*.o -o ${WRKSRC}/tcpillust -lpcap
 
 do-install:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list