aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2013-10-20 04:32:54 +0800
committertijl <tijl@FreeBSD.org>2013-10-20 04:32:54 +0800
commit7f3dc28f6ecea5539f145d1f789d7d42424fc04a (patch)
treee9595747683d1b098e159d95606a2682939c31a2
parent05f71bff425cb52d9f6846aa39309603c72b2225 (diff)
downloadfreebsd-ports-gnome-7f3dc28f6ecea5539f145d1f789d7d42424fc04a.tar.gz
freebsd-ports-gnome-7f3dc28f6ecea5539f145d1f789d7d42424fc04a.tar.zst
freebsd-ports-gnome-7f3dc28f6ecea5539f145d1f789d7d42424fc04a.zip
Link with -lX11 to fix build on FreeBSD 10.
PR: ports/182938 Submitted by: Yoshifumi Nishida <nishida@sfc.wide.ad.jp> (maintainer)
-rw-r--r--net/tcpillust/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tcpillust/Makefile b/net/tcpillust/Makefile
index b89bc2abcc21..ba2fa579d762 100644
--- a/net/tcpillust/Makefile
+++ b/net/tcpillust/Makefile
@@ -35,7 +35,7 @@ do-build:
-I${LOCALBASE}/include -DILTDIR=\"${DATADIR}\" -c ${WRKSRC}/${file} -o ${WRKSRC}/${file:S/.c/.o/}
.endfor
${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
+ -lm -ltcl${TCL_VER:S/.//} -ltk${TK_VER:S/.//} ${WRKSRC}/*.o ${WRKSRC}/tcpdump/*.o -o ${WRKSRC}/tcpillust -lpcap -lX11
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpillust ${PREFIX}/bin