FreeBSD Bugzilla – Attachment 202986 Details for
Bug 236643
net/py-libdnet: Fix build with both python 2 and 3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update version 1.12 => 1.13
py-libdnet-1.13.patch (text/plain), 1.17 KB, created by
Muhammad Moinur Rahman
on 2019-03-19 19:25:12 UTC
(
hide
)
Description:
Update version 1.12 => 1.13
Filename:
MIME Type:
Creator:
Muhammad Moinur Rahman
Created:
2019-03-19 19:25:12 UTC
Size:
1.17 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 495742) >+++ Makefile (working copy) >@@ -8,6 +8,8 @@ > > LIB_DEPENDS= libdnet.so:net/libdnet > >+USES= autoreconf libtool python >+ > MASTERDIR= ${.CURDIR}/../libdnet > INSTALL_WRKSRC= ${WRKSRC}/python > DESCR= ${.CURDIR}/pkg-descr >@@ -17,8 +19,7 @@ > > LIBDNET_SLAVE= yes > >-USES= python:2.7 >-USE_PYTHON= flavors >+USE_PYTHON= cython flavors > CONFIGURE_ARGS= --with-python=${PYTHON_CMD} > > .if defined(MAINTAINER_MODE) >@@ -26,4 +27,11 @@ > ${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py > .endif > >+post-patch: >+ ${REINPLACE_CMD} 's|%%CYTHON%%|cython-${PYTHON_VER}|g' \ >+ ${WRKSRC}/python/Makefile.am >+ >+post-install: >+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dnet.so >+ > .include "${MASTERDIR}/Makefile" >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 495742) >+++ pkg-descr (working copy) >@@ -5,4 +5,4 @@ > manipulation, and raw IP packet and Ethernet frame transmission. It is > intended to complement the functionality provided by pcap(3). > >-WWW: https://code.google.com/p/libdnet/ >+WWW: https://github.com/5u623l20/libdnet/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236643
: 202986