svn commit: r336530 - head/games/teeworlds

Marcus von Appen mva at FreeBSD.org
Sun Dec 15 13:35:53 UTC 2013


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


More information about the svn-ports-head mailing list