diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-13 07:41:30 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-13 07:41:30 +0000 |
commit | 08f99179049da9f52c9b96d09f3b0a0e62551a43 (patch) | |
tree | 11bcf71a3a421a6b75c77a7ef7dcc57c78c9e1d3 | |
parent | Pull in the latest change to mkmf.rb to avoid build error when (diff) |
- Patch out $ python - print site.sitedirs invocation. According to perky:
"sys.sitedirs is not for external reference, it's even hidden and not
available in Python 2.4" and replace it with ${PYTHON_SITELIBDIR}.
This fixes installation of python module, which would otherwise always
end up in /usr/X11R6/lib/python2.3/site-packages.
-rw-r--r-- | www/clearsilver/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/clearsilver/Makefile b/www/clearsilver/Makefile index a00d89c73bd2..862dfc8371e3 100644 --- a/www/clearsilver/Makefile +++ b/www/clearsilver/Makefile @@ -74,5 +74,6 @@ post-patch: @${REINPLACE_CMD} -E 's,(\$$\(PYTHON\)),CFLAGS="" \1,g' ${WRKSRC}/python/Makefile @# Avoid rebuiling man pages @${REINPLACE_CMD} -e 's,all man,all,g' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|`$$python_bin -c "import site; print site.sitedirs\[0\]"`|"${PYTHON_SITELIBDIR}"|' ${WRKSRC}/configure .include <bsd.port.post.mk> |