diff options
author | pat <pat@FreeBSD.org> | 2002-05-23 22:22:19 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-05-23 22:22:19 +0000 |
commit | c54deb27de512ced04f48f48a6668977ece0ba70 (patch) | |
tree | 98f1cfa3d42d9e110ef8367f90d94ae0e31e508a /dns | |
parent | 1867be1cca9ad1c85464c55c45879a81062459e0 (diff) | |
download | FreeBSD-ports-c54deb27de512ced04f48f48a6668977ece0ba70.zip FreeBSD-ports-c54deb27de512ced04f48f48a6668977ece0ba70.tar.gz |
back out commit made comparing OSVERSION and use sed(1) to workaround perl
on current issue. gotta back it out sooner or later.
/me puts on pointy hat
Requested by: many
Diffstat (limited to 'dns')
-rw-r--r-- | dns/py-adns/Makefile | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile index 83e4077..b741415 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> |