FreeBSD Bugzilla – Attachment 163616 Details for
Bug 204869
[PATCH] net/py-maxminddb: fix run depends
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net/py-maxminddb patch
net_py-maxminddb (text/plain), 1.04 KB, created by
Po-Chuan Hsieh
on 2015-11-28 13:10:35 UTC
(
hide
)
Description:
net/py-maxminddb patch
Filename:
MIME Type:
Creator:
Po-Chuan Hsieh
Created:
2015-11-28 13:10:35 UTC
Size:
1.04 KB
patch
obsolete
>Index: net/py-maxminddb/Makefile >=================================================================== >--- net/py-maxminddb/Makefile (revision 402508) >+++ net/py-maxminddb/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= maxminddb > PORTVERSION= 1.2.0 >+PORTREVISION= 1 > DISTVERSIONPREFIX= v > CATEGORIES= net python geography > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -13,7 +14,6 @@ > LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddr>0:${PORTSDIR}/devel/py-ipaddr > LIB_DEPENDS= libmaxminddb.so:${PORTSDIR}/net/libmaxminddb > > USE_GITHUB= yes >@@ -20,9 +20,16 @@ > GH_ACCOUNT= maxmind > GH_PROJECT= MaxMind-DB-Reader-python > >-USES= python >+USES= localbase python > USE_PYTHON= autoplist distutils > >-CPPFLAGS+= -I${LOCALBASE}/include >+.include <bsd.port.pre.mk> > >-.include <bsd.port.mk> >+.if ${PYTHON_REL} < 3300 >+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddr>=0:${PORTSDIR}/devel/py-ipaddr >+.endif >+ >+post-install: >+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/maxminddb/extension.so >+ >+.include <bsd.port.post.mk>
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 204869
: 163616