Date: Thu, 25 Oct 2012 07:47:41 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306372 - head/net/tcpillust Message-ID: <201210250747.q9P7lfSq004434@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210250747.q9P7lfSq004434>