diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2013-12-15 13:35:52 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2013-12-15 13:35:52 +0000 |
commit | 5a4d34c9a49494cf9f662fc08c2ee35371fb8fa4 (patch) | |
tree | cf9af08b5320c46a6d78b02e5f957e0fc71a5cbd /games/teeworlds | |
parent | c410082fc9b130cfbf6ce46b68c8755a613690fa (diff) | |
download | ports-5a4d34c9a49494cf9f662fc08c2ee35371fb8fa4.tar.gz ports-5a4d34c9a49494cf9f662fc08c2ee35371fb8fa4.zip |
Notes
Diffstat (limited to 'games/teeworlds')
-rw-r--r-- | games/teeworlds/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/teeworlds/Makefile b/games/teeworlds/Makefile index 157f04f79df7..8fdcce1da8cd 100644 --- a/games/teeworlds/Makefile +++ b/games/teeworlds/Makefile @@ -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 |