From nobody@FreeBSD.org  Sat Oct 12 23:17:41 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 752A5BED
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Oct 2013 23:17:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 6313925B7
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Oct 2013 23:17:41 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9CNHei7088587
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Oct 2013 23:17:40 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9CNHegC088586;
	Sat, 12 Oct 2013 23:17:40 GMT
	(envelope-from nobody)
Message-Id: <201310122317.r9CNHegC088586@oldred.freebsd.org>
Date: Sat, 12 Oct 2013 23:17:40 GMT
From: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bug fix for building tcpillust
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182938
>Category:       ports
>Synopsis:       bug fix for building net/tcpillust
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tijl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 12 23:20:01 UTC 2013
>Closed-Date:    Sat Oct 19 22:33:46 CEST 2013
>Last-Modified:  Sat Oct 19 20:40:01 UTC 2013
>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@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:
State-Changed-From-To: open->closed 
State-Changed-By: tijl 
State-Changed-When: Sat Oct 19 22:33:07 CEST 2013 
State-Changed-Why:  
Committed in r330934. 


Responsible-Changed-From-To: freebsd-ports-bugs->tijl 
Responsible-Changed-By: tijl 
Responsible-Changed-When: Sat Oct 19 22:33:07 CEST 2013 
Responsible-Changed-Why:  
Committed in r330934. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182938 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182938: commit references a PR
Date: Sat, 19 Oct 2013 20:33:02 +0000 (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"
 
>Unformatted:
