svn commit: r306372 - head/net/tcpillust

Cy Schubert cy at FreeBSD.org
Thu Oct 25 07:47:42 UTC 2012


Author: cy
Date: Thu Oct 25 07:47:41 2012
New Revision: 306372
URL: http://svn.freebsd.org/changeset/ports/306372

Log:
  Fix build when net/libpcap is installed.
  
  PR:		ports/172623
  Approved by:	Yoshifumi Nishida <nishida at sfc.wide.ad.jp> (maintainer)
  Feature safe:	yes

Modified:
  head/net/tcpillust/Makefile

Modified: head/net/tcpillust/Makefile
==============================================================================
--- head/net/tcpillust/Makefile	Thu Oct 25 07:13:12 2012	(r306371)
+++ head/net/tcpillust/Makefile	Thu Oct 25 07:47:41 2012	(r306372)
@@ -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:


More information about the svn-ports-head mailing list