From owner-svn-ports-head@FreeBSD.ORG Sun Dec 29 20:44:21 2013 Return-Path: Delivered-To: svn-ports-head@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 ESMTPS id 506CEB2A; Sun, 29 Dec 2013 20:44:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3C43C16E1; Sun, 29 Dec 2013 20:44:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBTKiLbP008913; Sun, 29 Dec 2013 20:44:21 GMT (envelope-from wxs@svn.freebsd.org) Received: (from wxs@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBTKiLES008912; Sun, 29 Dec 2013 20:44:21 GMT (envelope-from wxs@svn.freebsd.org) Message-Id: <201312292044.rBTKiLES008912@svn.freebsd.org> From: Wesley Shields Date: Sun, 29 Dec 2013 20:44:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338042 - head/net/tcpdump X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 20:44:21 -0000 Author: wxs Date: Sun Dec 29 20:44:20 2013 New Revision: 338042 URL: http://svnweb.freebsd.org/changeset/ports/338042 Log: Make stage aware and turn on pcap_setdirection. PR: ports/184325 Submitted by: Rodrigo Osorio Modified: head/net/tcpdump/Makefile Modified: head/net/tcpdump/Makefile ============================================================================== --- head/net/tcpdump/Makefile Sun Dec 29 20:37:27 2013 (r338041) +++ head/net/tcpdump/Makefile Sun Dec 29 20:44:20 2013 (r338042) @@ -29,8 +29,10 @@ SMI_DESC= Allow MIBs to be loaded on the USER_DESC= Drop privileges to nobody CHROOT_DESC= Chroot to /var/run/tcpdump (set CHROOTDIR to change) -NO_STAGE= yes .include + +CONFIGURE_ARGS+= --enable-pcap_setdirection --with-pcap_setdirection + # The --without-crypto flag needs to be explicitly specified. The # configure script gets confused if you specify --with-crypto and # thinks this means you *don't* want crypto. @@ -65,14 +67,14 @@ CONFIGURE_ARGS+= --with-chroot=${CHROOTD .include -MAN1= tcpdump.1 -PLIST_FILES= sbin/tcpdump +PLIST_FILES= sbin/tcpdump \ + man/man1/tcpdump.1.gz post-configure: @${REINPLACE_CMD} -e "s,\./\.\./${LIBPCAP_FORCE_VER}/libpcap\.a,${LOCALBASE}/lib/libpcap.so.1," ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tcpdump ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/tcpdump.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/tcpdump ${STAGEDIR}/${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/tcpdump.1 ${STAGEDIR}/${MAN1PREFIX}/man/man1 .include