The file wx.pth is created if no other wxPython version is installed but it not deleted on port removal. On deinstallation the path of the version being deinstalled should be removed from the file and if the file contains no other paths it should be deleted. Fix: RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl +BROKEN= Incomplete pkg-plist + WRKSRC= ${WRKDIR}/${DISTNAME}/wxPython USE_GMAKE= yes--kZkc6y0unElee2hu0cDJAfp0gLBAtjjos4IKRt5BqApTlcJj Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- pkg-plist.orig Thu May 11 18:01:48 2006 +++ pkg-plist Thu May 11 16:24:34 2006 @@ -824,4 +824,3 @@ @dirrm %%PYTHON_SITELIBDIR%%/%%WX_PYTHON_DIR%% @exec echo %%WX_PYTHON_DIR%% >> %D/%%PYTHON_SITELIBDIR%%/wx.pth 2>/dev/null || true @exec chmod 0444 %D/%%PYTHON_SITELIBDIR%%/wx.pth 2>/dev/null || true -@unexec sed -i -e /%%WX_PYTHON_DIR%%/d %D/%%PYTHON_SITELIBDIR%%/wx.pth; if [ ! -s %D/%%PYTHON_SITELIBDIR%%/wx.pth ]; then rm %D/%%PYTHON_SITELIBDIR%%/wx.pth; fi How-To-Repeat: Install and deinstall the port and the file wx.pth will be in /usr/local/lib/python2.4/site-packages.
State Changed From-To: open->closed Port has already been marked BROKEN.
State Changed From-To: closed->open Reopen this PR. Sorry, the reversed patch confused me.
Responsible Changed From-To: freebsd-ports-bugs->stefan Take.
State Changed From-To: open->closed Committed, thanks!