Date: Thu, 19 Dec 2013 12:41:25 +0000 (UTC) From: David Naylor <dbn@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r336893 - branches/2014Q1/x11-toolkits/py-kivy Message-ID: <201312191241.rBJCfPow016075@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dbn Date: Thu Dec 19 12:41:25 2013 New Revision: 336893 URL: http://svnweb.freebsd.org/changeset/ports/336893 Log: MFH r336691: Fix build of x11-toolkits/py-kivy on some systems (pygame.joystick related). On some systems pygame.joystick does not import into python preventing some documentation from being built, thus some missing files on install. For documentation building prevent any attempt to import pygame.joystick as a work-around. Approved by: portmgr-lurkers (mat) Modified: branches/2014Q1/x11-toolkits/py-kivy/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/x11-toolkits/py-kivy/Makefile ============================================================================== --- branches/2014Q1/x11-toolkits/py-kivy/Makefile Thu Dec 19 12:30:43 2013 (r336892) +++ branches/2014Q1/x11-toolkits/py-kivy/Makefile Thu Dec 19 12:41:25 2013 (r336893) @@ -122,6 +122,8 @@ post-build: do-build-docs do-build-docs: ${MKDIR} ${WRKSRC}/doc/build/doctrees ${WRKSRC}/doc/build/html \ ${WRKSRC}/doc/build/latex-a4 ${WRKSRC}/doc/build/latex-letter + ${REINPLACE_CMD} -i '' -e 's/\(import pygame\.joystick\)/#\1/' \ + ${WRKSRC}/kivy/input/providers/androidjoystick.py (cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} doc/autobuild.py) (cd ${WRKSRC}; \ @@ -142,6 +144,8 @@ do-build-docs: ${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKSRC}/doc/build/latex-letter \ all-pdf > /dev/null .endif + ${REINPLACE_CMD} -i '' -e 's/#\(import pygame\.joystick\)/\1/' \ + ${WRKSRC}/kivy/input/providers/androidjoystick.py post-install: do-install-docs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312191241.rBJCfPow016075>