diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2002-06-25 19:19:54 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2002-06-25 19:19:54 +0000 |
commit | 33085970800ef45d6ab8b05aecb75db75fe5de8f (patch) | |
tree | 55e43b60dc76acef73aad39367c657f8b3741f59 /dns | |
parent | a154163cfc3fbed5b12667877e6d963d6d186fa3 (diff) | |
download | ports-33085970800ef45d6ab8b05aecb75db75fe5de8f.tar.gz ports-33085970800ef45d6ab8b05aecb75db75fe5de8f.zip |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/py-adns/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile index 795a7fcb628f..242602098e3c 100644 --- a/dns/py-adns/Makefile +++ b/dns/py-adns/Makefile @@ -18,11 +18,12 @@ LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns USE_PYTHON= yes USE_PYDISTUTILS= yes +USE_REINPLACE= yes PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} post-patch: - @${PERL} -pi -e 's|^(include_dirs = ).*$$|\1\["${LOCALBASE}/include"\]|g; \ - s|^(library_dirs = ).*$$|\1\["${LOCALBASE}/lib"\]|g' \ + @${REINPLACE_CMD} -e 's|^\(include_dirs = \).*$$|\1\["${LOCALBASE}/include"\]|g' \ + -e 's|^\(library_dirs = \).*$$|\1\["${LOCALBASE}/lib"\]|g' \ ${WRKSRC}/setup.py .include <bsd.port.mk> |