diff options
author | pav <pav@FreeBSD.org> | 2004-07-13 07:41:30 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-13 07:41:30 +0000 |
commit | 0d9fefc4e6dbcb687d16397c54085a1755469dd5 (patch) | |
tree | f88add6b13cebe8dcc7053b6a021843b8516ed5b /www/clearsilver | |
parent | 3deaececa23b26b70c3b1c696bd2b8bce793b91c (diff) | |
download | FreeBSD-ports-0d9fefc4e6dbcb687d16397c54085a1755469dd5.zip FreeBSD-ports-0d9fefc4e6dbcb687d16397c54085a1755469dd5.tar.gz |
- 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.
Diffstat (limited to 'www/clearsilver')
-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 a00d89c..862dfc8 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> |