From owner-svn-ports-head@FreeBSD.ORG Tue Dec 17 03:32:46 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 378F6878; Tue, 17 Dec 2013 03:32:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 23BB911D7; Tue, 17 Dec 2013 03:32:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBH3Wk2U063134; Tue, 17 Dec 2013 03:32:46 GMT (envelope-from dbn@svn.freebsd.org) Received: (from dbn@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBH3WjoE063133; Tue, 17 Dec 2013 03:32:45 GMT (envelope-from dbn@svn.freebsd.org) Message-Id: <201312170332.rBH3WjoE063133@svn.freebsd.org> From: David Naylor Date: Tue, 17 Dec 2013 03:32:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336691 - head/x11-toolkits/py-kivy X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 03:32:46 -0000 Author: dbn Date: Tue Dec 17 03:32:45 2013 New Revision: 336691 URL: http://svnweb.freebsd.org/changeset/ports/336691 Log: 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. Modified: head/x11-toolkits/py-kivy/Makefile Modified: head/x11-toolkits/py-kivy/Makefile ============================================================================== --- head/x11-toolkits/py-kivy/Makefile Tue Dec 17 03:07:00 2013 (r336690) +++ head/x11-toolkits/py-kivy/Makefile Tue Dec 17 03:32:45 2013 (r336691) @@ -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