diff options
author | wjv <wjv@FreeBSD.org> | 2001-08-17 23:18:14 +0800 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2001-08-17 23:18:14 +0800 |
commit | 473c50609e744ddd8d361efccdf7f8bc4f23abdf (patch) | |
tree | 23e7d846944149e19c91891b89e9a5429a421ac1 /devel | |
parent | eba66a6cfa6eb0421d79432b80d0ba2bd168e783 (diff) | |
download | freebsd-ports-gnome-473c50609e744ddd8d361efccdf7f8bc4f23abdf.tar.gz freebsd-ports-gnome-473c50609e744ddd8d361efccdf7f8bc4f23abdf.tar.zst freebsd-ports-gnome-473c50609e744ddd8d361efccdf7f8bc4f23abdf.zip |
- Patch source files to enable the usage of py-unit (which is installed as a
run-time dependency) instead of the bundled copy of py-unit (which isn't
installed at all).
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-twisted/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile index d2d7fe84c6ff..ae63ac25cffa 100644 --- a/devel/py-twisted/Makefile +++ b/devel/py-twisted/Makefile @@ -24,6 +24,10 @@ EXAMPLESDIR= ${PREFIX}/share/examples/twisted MAN1= faucet.1 gnusto.1 im.1 mktap.1 twistd.1 +post-patch: + @ ${PERL} -pi.orig -e 's/from pyunit import/import/g' \ + ${WRKSRC}/bin/runtests ${WRKSRC}/twisted/test/*.py + do-build: @ cd ${WRKSRC} && ${PYTHON_CMD} setup.py build |