Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2013 13:35:53 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336530 - head/games/teeworlds
Message-ID:  <201312151335.rBFDZrPQ021283@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312151335.rBFDZrPQ021283>