Bug 182938 - bug fix for building net/tcpillust
Summary: bug fix for building net/tcpillust
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-13 00:20 UTC by Yoshifumi Nishida
Modified: 2013-10-19 21:40 UTC (History)
0 users

See Also:


Attachments
file.diff (908 bytes, patch)
2013-10-13 00:20 UTC, Yoshifumi Nishida
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yoshifumi Nishida 2013-10-13 00:20:01 UTC
users cannot build tcpillust from ports

Fix: use the following patch

Patch attached with submission follows:
How-To-Repeat: try to build tcpillust from ports
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-10-19 21:33:02 UTC
Author: tijl
Date: Sat Oct 19 20:32:54 2013
New Revision: 330934
URL: http://svnweb.freebsd.org/changeset/ports/330934

Log:
  Link with -lX11 to fix build on FreeBSD 10.
  
  PR:		ports/182938
  Submitted by:	Yoshifumi Nishida <nishida@sfc.wide.ad.jp> (maintainer)

Modified:
  head/net/tcpillust/Makefile

Modified: head/net/tcpillust/Makefile
==============================================================================
--- head/net/tcpillust/Makefile	Sat Oct 19 20:18:53 2013	(r330933)
+++ head/net/tcpillust/Makefile	Sat Oct 19 20:32:54 2013	(r330934)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Tijl Coosemans freebsd_committer freebsd_triage 2013-10-19 21:33:07 UTC
State Changed
From-To: open->closed

Committed in r330934. 


Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2013-10-19 21:33:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tijl

Committed in r330934.