Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2013 13:51:16 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336533 - head/net/py-pypcap
Message-ID:  <201312151351.rBFDpGgc027783@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312151351.rBFDpGgc027783>