aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2006-04-22 13:38:10 +0800
committerperky <perky@FreeBSD.org>2006-04-22 13:38:10 +0800
commit8062300408293e832050dd5db8e7930ea8274fad (patch)
tree8a0fcf9b50b89912e8702a0d16621837c1413ff5 /dns
parent08e77f2974753cb3b9c2e73b08c4ec688771a2d9 (diff)
downloadfreebsd-ports-gnome-8062300408293e832050dd5db8e7930ea8274fad.tar.gz
freebsd-ports-gnome-8062300408293e832050dd5db8e7930ea8274fad.tar.zst
freebsd-ports-gnome-8062300408293e832050dd5db8e7930ea8274fad.zip
Fix build on adns 1.2.
Diffstat (limited to 'dns')
-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>