- Fix reinstall Port maintainer (python@FreeBSD.org) is cc'd. Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports) How-To-Repeat: Build log https://redports.org/buildarchive/20130616111201-523/
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-python->koobs I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=179612 Date: Sun, 16 Jun 2013 14:34:27 +0100
Author: koobs Date: Sun Jun 16 11:46:51 2013 New Revision: 321041 URL: http://svnweb.freebsd.org/changeset/ports/321041 Log: devel/py-distribute: Fix reinstall - Correctly use -sf flags for ${LN} PR: ports/179612 Submitted by: nemysis <nemysis@gmx.ch> Reviewed by: sbz, Johannes Meixner <xmj@chaot.net> Modified: head/devel/py-distribute/Makefile Modified: head/devel/py-distribute/Makefile ============================================================================== --- head/devel/py-distribute/Makefile Sun Jun 16 11:37:55 2013 (r321040) +++ head/devel/py-distribute/Makefile Sun Jun 16 11:46:51 2013 (r321041) @@ -65,7 +65,7 @@ post-install: ${PYTHON_CMD} -m py_compile ${SITE_PY} ${PYTHON_CMD} -OO -m py_compile ${SITE_PY} ${CP} ${EASYINSTALL_PTH} ${EASYINSTALL_PTH}.dist - ${LN} ${EASYINSTALL_PTH}.dist ${PYTHON_SITELIBDIR}/distribute.pth + ${LN} -sf ${EASYINSTALL_PTH}.dist ${PYTHON_SITELIBDIR}/distribute.pth PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL if [ -f ${PKGMESSAGE} ]; then ${CAT} ${PKGMESSAGE}; fi _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
> 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