aboutsummaryrefslogtreecommitdiff
path: root/dns/py-adns
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2006-04-22 05:38:10 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2006-04-22 05:38:10 +0000
commit9e7484f6dd3de79eecb5e2f78188fe1f511af18c (patch)
treebbc4d1e172064f6a9a6a33acb40654bcc0c27eac /dns/py-adns
parent989db3bf1fe3f77dac5e9b1632468c8906376b48 (diff)
downloadports-9e7484f6dd3de79eecb5e2f78188fe1f511af18c.tar.gz
ports-9e7484f6dd3de79eecb5e2f78188fe1f511af18c.zip
Fix build on adns 1.2.
Notes
Notes: svn path=/head/; revision=160124
Diffstat (limited to 'dns/py-adns')
-rw-r--r--dns/py-adns/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile
index f77c6b5b7cf4..3dfcfa6ab0d8 100644
--- a/dns/py-adns/Makefile
+++ b/dns/py-adns/Makefile
@@ -20,14 +20,12 @@ LIB_DEPENDS= adns.12:${PORTSDIR}/dns/adns
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-USE_REINPLACE= yes
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
-BROKEN= does not build with a new version of dns/adns
-
post-patch:
@${REINPLACE_CMD} -e 's|^\(include_dirs = \).*$$|\1\["${LOCALBASE}/include"\]|g' \
-e 's|^\(library_dirs = \).*$$|\1\["${LOCALBASE}/lib"\]|g' \
+ -e 's|\(extra_objects=.*\)$$|\1define_macros=[("adns__rrt_typemask","adns_rrt_typemask")],|g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>