aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-05-23 22:22:19 +0000
committerPatrick Li <pat@FreeBSD.org>2002-05-23 22:22:19 +0000
commit03f189ed5b5a5559e1a2ac5154ffbb0d247b086e (patch)
treea7d8311612999f81e004ab9fe53399cfe729f724 /dns
parent52cc034e89ec1c9bb688c6b17513311efae31bb2 (diff)
downloadports-03f189ed5b5a5559e1a2ac5154ffbb0d247b086e.tar.gz
ports-03f189ed5b5a5559e1a2ac5154ffbb0d247b086e.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/py-adns/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile
index 83e40776422b..b741415a3123 100644
--- a/dns/py-adns/Makefile
+++ b/dns/py-adns/Makefile
@@ -20,17 +20,9 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
-.include <bsd.port.pre.mk>
-
post-patch:
-.if ${OSVERSION} < 500036
@${PERL} -pi -e 's|^(include_dirs = ).*$$|\1\["${LOCALBASE}/include"\]|g; \
s|^(library_dirs = ).*$$|\1\["${LOCALBASE}/lib"\]|g' \
${WRKSRC}/setup.py
-.else
- @${SED} -i.orig -e 's|^\(include_dirs = \).*$$|\1\["${LOCALBASE}/include"\]|g' \
- -e 's|^\(library_dirs = \).*$$|\1\["${LOCALBASE}/lib"\]|g' \
- ${WRKSRC}/setup.py
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>