From owner-svn-ports-head@FreeBSD.ORG Sun Dec 15 13:51:16 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 D5DF4444; Sun, 15 Dec 2013 13:51:16 +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 C28961664; Sun, 15 Dec 2013 13:51:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBFDpGbv027784; Sun, 15 Dec 2013 13:51:16 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBFDpGgc027783; Sun, 15 Dec 2013 13:51:16 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312151351.rBFDpGgc027783@svn.freebsd.org> From: William Grzybowski Date: Sun, 15 Dec 2013 13:51:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336533 - head/net/py-pypcap 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, 15 Dec 2013 13:51:16 -0000 Author: wg Date: Sun Dec 15 13:51:16 2013 New Revision: 336533 URL: http://svnweb.freebsd.org/changeset/ports/336533 Log: net/py-pypcap: fix usage of python Reported by: exp-run (PR 184591) Approved by: portmgr (blanket) Modified: head/net/py-pypcap/Makefile Modified: head/net/py-pypcap/Makefile ============================================================================== --- head/net/py-pypcap/Makefile Sun Dec 15 13:50:31 2013 (r336532) +++ head/net/py-pypcap/Makefile Sun Dec 15 13:51:16 2013 (r336533) @@ -14,8 +14,7 @@ COMMENT= Simplified object-oriented Pyth BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex USE_PYTHON= yes -USE_PYTHON_PREFIX= yes -INSTALLS_EGGINFO= yes +USE_PYDISTUTILS=yes PYDISTUTILS_PKGNAME= pcap PLIST_FILES= %%PYTHON_SITELIBDIR%%/pcap.so @@ -24,4 +23,7 @@ NO_STAGE= yes post-patch: @${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/pcap.c +pre-build: + (cd ${WRKSRC}; pyrexc pcap.pyx) + .include