From owner-svn-ports-head@FreeBSD.ORG Sun Dec 15 13:35:53 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48E2112E; Sun, 15 Dec 2013 13:35:53 +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 350241598; Sun, 15 Dec 2013 13:35:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBFDZrOZ021284; Sun, 15 Dec 2013 13:35:53 GMT (envelope-from mva@svn.freebsd.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBFDZrPQ021283; Sun, 15 Dec 2013 13:35:53 GMT (envelope-from mva@svn.freebsd.org) Message-Id: <201312151335.rBFDZrPQ021283@svn.freebsd.org> From: Marcus von Appen Date: Sun, 15 Dec 2013 13:35:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336530 - head/games/teeworlds 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: Sun, 15 Dec 2013 13:35:53 -0000 Author: mva Date: Sun Dec 15 13:35:52 2013 New Revision: 336530 URL: http://svnweb.freebsd.org/changeset/ports/336530 Log: - Fix the usage of 'python' to get rid of the implicit lang/python dependency - Restrict the build to the supported Python versions Reported by: exp-run (PR 184591) Approved by: portmgr (blanket) Modified: head/games/teeworlds/Makefile Modified: head/games/teeworlds/Makefile ============================================================================== --- head/games/teeworlds/Makefile Sun Dec 15 13:28:38 2013 (r336529) +++ head/games/teeworlds/Makefile Sun Dec 15 13:35:52 2013 (r336530) @@ -16,7 +16,7 @@ LICENSE= ZLIB LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 -USE_PYTHON_BUILD= yes +USE_PYTHON_BUILD= 2 BAM_VERSION= 0.4.0 BAM_WRKSRC= ${WRKDIR}/bam-${BAM_VERSION} @@ -52,6 +52,8 @@ DESKTOP_ENTRIES="Teeworlds" \ .endif post-patch: + @${REINPLACE_CMD} -e 's|"python "|"${PYTHON_CMD} "|' \ + ${WRKSRC}/bam.lua @${REINPLACE_CMD} -e 's|-O.||; s|-lpthread|${PTHREAD_LIBS}|; s|^gcc|${CC} ${CFLAGS}|; s|-ldl||g' \ ${BAM_WRKSRC}/make_unix.sh @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/other/sdl/sdl.lua