From dafe98ab07470988d10608b4225b2c84bd7cab73 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Thu, 25 Oct 2012 07:47:41 +0000 Subject: [PATCH] Fix build when net/libpcap is installed. PR: ports/172623 Approved by: Yoshifumi Nishida (maintainer) Feature safe: yes --- net/tcpillust/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/tcpillust/Makefile b/net/tcpillust/Makefile index 25bc173d9bfa..54f8eeb61dcb 100644 --- a/net/tcpillust/Makefile +++ b/net/tcpillust/Makefile @@ -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 @@ WRKSRC= ${WRKDIR}/${PORTNAME} 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: