ports/182938: bug fix for building tcpillust

Yoshifumi Nishida nishida at sfc.wide.ad.jp
Sat Oct 12 23:20:02 UTC 2013


>Number:         182938
>Category:       ports
>Synopsis:       bug fix for building tcpillust
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 12 23:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yoshifumi Nishida
>Release:        FreeBSD 10.0-CURRENT i386
>Organization:
>Environment:
FreeBSD nodea.freebsd10.all-ip.emulab.net 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r254898: Mon Aug 26 17:35:52 MDT 2013     root at node.freebsd10-node.testbed.emulab.net:/usr/obj/repos/src/sys/TESTBED-GENERIC-POLLING-NODEBUG  i386

>Description:
users cannot build tcpillust from ports
>How-To-Repeat:
try to build tcpillust from ports
>Fix:
use the following patch

Patch attached with submission follows:

*** Makefile.orig	Sat Oct 12 17:13:56 2013
--- Makefile	Sat Oct 12 17:06:56 2013
***************
*** 34,40 ****
  	-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
  
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/tcpillust ${PREFIX}/bin
--- 34,40 ----
  	-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 -lX11
  
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/tcpillust ${PREFIX}/bin


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list