diff options
Diffstat (limited to 'net/py-pcap')
-rw-r--r-- | net/py-pcap/Makefile | 23 | ||||
-rw-r--r-- | net/py-pcap/distinfo | 4 | ||||
-rw-r--r-- | net/py-pcap/patches/patch-ab | 4 |
3 files changed, 15 insertions, 16 deletions
diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile index d4f0c1d5460..9b96e26a41e 100644 --- a/net/py-pcap/Makefile +++ b/net/py-pcap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2016/07/09 13:04:01 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2016/07/10 11:15:41 rillig Exp $ DISTNAME= pypcap-1.1 PKGNAME= ${PYPKGPREFIX}-pcap-1.1 @@ -13,19 +13,20 @@ LICENSE= modified-bsd BUILD_DEPENDS+= ${PYPKGPREFIX}-pyrex-[0-9]*:../../lang/py-pyrex -SUBST_CLASSES+= python -SUBST_FILES.python= Makefile -SUBST_SED.python+= -e 's,@PYTHON@,${PYTHONBIN},g' -SUBST_STAGE.python= post-patch -SUBST_CLASSES+= prefix -SUBST_FILES.prefix= Makefile -SUBST_SED.prefix= -e "s|@PREFIX@|${PREFIX}|g" -SUBST_STAGE.prefix= post-patch +SUBST_CLASSES+= python +SUBST_FILES.python= Makefile +SUBST_SED.python+= -e 's,@PYTHON@,${PYTHONBIN},g' +SUBST_STAGE.python= post-patch -PYDISTUTILSPKG= yes +SUBST_CLASSES+= prefix +SUBST_FILES.prefix= Makefile +SUBST_SED.prefix= -e "s|@PREFIX@|${PREFIX}|g" +SUBST_STAGE.prefix= post-patch + +PYDISTUTILSPKG= yes PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # py-pyrex -FILES_SUBST+= PYTHONBIN=${PYTHONBIN:Q} +FILES_SUBST+= PYTHONBIN=${PYTHONBIN:Q} pre-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ diff --git a/net/py-pcap/distinfo b/net/py-pcap/distinfo index f4d2aadefc8..36732eff285 100644 --- a/net/py-pcap/distinfo +++ b/net/py-pcap/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.4 2015/11/04 00:35:31 agc Exp $ +$NetBSD: distinfo,v 1.5 2016/07/10 11:15:41 rillig Exp $ SHA1 (pypcap-1.1.tar.gz) = 966f62deca16d5086e2ef6694b0c795f273da15c RMD160 (pypcap-1.1.tar.gz) = 119dcc393d42678e6fa8f0b0f8b82536ab1efb13 SHA512 (pypcap-1.1.tar.gz) = f4fefb48f01b9080446d83fca3793f97aba3b3677d38520c977c49be061568163299a89c5bc6ec552d68c01fc211e1501b75a835eb68412ab8f6e4307eb0b599 Size (pypcap-1.1.tar.gz) = 22951 bytes SHA1 (patch-aa) = 6fb58b55262a9b28bdc9e681b3b3ea07523bd8e3 -SHA1 (patch-ab) = 3be8dad4d70e56fc07a7acfea2d1fc5d0dd2e413 +SHA1 (patch-ab) = 0dc6f05e5f5fc56b4fcdd06c3cdd1845cef813af SHA1 (patch-ac) = 4a4f28578b27b4605787ea566217397bf60fdea8 diff --git a/net/py-pcap/patches/patch-ab b/net/py-pcap/patches/patch-ab index cf770c0d7f5..1297b2953e8 100644 --- a/net/py-pcap/patches/patch-ab +++ b/net/py-pcap/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.3 2011/05/09 11:17:22 alnsn Exp $ +$NetBSD: patch-ab,v 1.4 2016/07/10 11:15:41 rillig Exp $ --- Makefile.orig 2005-10-17 02:08:17.000000000 +0200 +++ Makefile 2010-02-14 17:31:22.000000000 +0100 @@ -9,5 +9,3 @@ $NetBSD: patch-ab,v 1.3 2011/05/09 11:17:22 alnsn Exp $ +PYTHON = @PYTHON@ +#CONFIG_ARGS = --with-pcap=@PREFIX@ - # PYTHON = C:\\Python23\\python.exe - # CONFIG_ARGS = --with-pcap=..\\wpdpack |