[PATCH] devel/py27-distribute: Fix reinstall
nemysis
nemysis at gmx.ch
Sun Jun 16 13:58:02 UTC 2013
On Sun, 16 Jun 2013 14:34:27 +0100
Chris Rees <utisoft at gmail.com> wrote:
> Why symbolic instead of hard?
>
> Chris
When is in Makefile
${LN} ${EASYINSTALL_PTH}.dist ${PYTHON_SITELIBDIR}/distribute.pth
/usr/local/bin/python2.7 -m py_compile /usr/local/lib/python2.7/site-packages/site.py
/usr/local/bin/python2.7 -OO -m py_compile /usr/local/lib/python2.7/site-packages/site.py
/bin/cp /usr/local/lib/python2.7/site-packages/easy-install.pth /usr/local/lib/python2.7/site-packages/easy-install.pth.dist
/bin/ln /usr/local/lib/python2.7/site-packages/easy-install.pth.dist /usr/local/lib/python2.7/site-packages/distribute.pth
ln: /usr/local/lib/python2.7/site-packages/distribute.pth: File exists
*** [post-install] Error code 1
Stop in /usr/local/ports/local/patch/devel/py-distribute.
*** [reinstall] Error code 1
Stop in /usr/local/ports/local/patch/devel/py-distribute.
When is in Makefile
${LN} -sf ${EASYINSTALL_PTH}.dist ${PYTHON_SITELIBDIR}/distribute.pth
/usr/local/bin/python2.7 -m py_compile /usr/local/lib/python2.7/site-packages/site.py
/usr/local/bin/python2.7 -OO -m py_compile /usr/local/lib/python2.7/site-packages/site.py
/bin/cp /usr/local/lib/python2.7/site-packages/easy-install.pth /usr/local/lib/python2.7/site-packages/easy-install.pth.dist
/bin/ln -sf /usr/local/lib/python2.7/site-packages/easy-install.pth.dist /usr/local/lib/python2.7/site-packages/distribute.pth
PKG_PREFIX=/usr/local /bin/sh /var/tmp/ports/usr/local/ports/local/patch/devel/py-distribute/work/pkg-install py27-distribute-0.6.35 POST-INSTALL
if [ -f /usr/local/ports/local/patch/devel/py-distribute/pkg-message ]; then /bin/cat /usr/local/ports/local/patch/devel/py-distribute/pkg-message; fi
===> Registering installation for py27-distribute-0.6.35
Installing py27-distribute-0.6.35... done
More information about the freebsd-python
mailing list