[PATCH] devel/py27-distribute: Fix reinstall

nemysis nemysis at gmx.ch
Sun Jun 16 11:22:42 UTC 2013


>Submitter-Id:	current-users
>Originator:	nemysis
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] devel/py27-distribute: Fix reinstall
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 9.1-RELEASE-p3 amd64
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013
>Description:

- Fix reinstall

Port maintainer (python at 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/

>Fix:

--- py27-distribute-0.6.35.patch begins here ---
diff -ruN /usr/ports/devel/py-distribute/Makefile ./Makefile
--- /usr/ports/devel/py-distribute/Makefile	2013-06-02 19:00:04.000000000 +0200
+++ ./Makefile	2013-06-16 13:08:41.000000000 +0200
@@ -65,7 +65,7 @@
 	${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
 
--- py27-distribute-0.6.35.patch ends here ---



More information about the freebsd-python mailing list