1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/games/renpy6/Makefile
Jan Beich e3633f8f64 games/renpy6: unbreak after r499148
build/temp.freebsd-11.2-RELEASE-amd64-2.7/core.o:(.bss+0x0): multiple definition of `PyGAME_C_API'
build/temp.freebsd-11.2-RELEASE-amd64-2.7/gen/_renpy.o:(.bss+0x0): first defined here
build/temp.freebsd-11.2-RELEASE-amd64-2.7/subpixel.o:(.bss+0x0): multiple definition of `PyGAME_C_API'
build/temp.freebsd-11.2-RELEASE-amd64-2.7/gen/_renpy.o:(.bss+0x0): first defined here

ImportError: /usr/local/lib/python2.7/site-packages/_renpy.so: Undefined symbol "RWopsFromPython"
ImportError: /usr/local/lib/python2.7/site-packages/_renpy.so: Undefined symbol "RWopsFromPythonThreaded"
ImportError: /usr/local/lib/python2.7/site-packages/_renpy.so: Undefined symbol "PySurface_AsSurface"

PR:		230115
Reported by:	pkg-fallout
2019-04-19 02:36:44 +00:00

29 lines
519 B
Makefile

# $FreeBSD$
PORTVERSION= 6.18.3
PORTREVISION= 10
PKGNAMESUFFIX= 6
CONFLICTS_INSTALL= ${PORTNAME}-[0-9]*
MASTERDIR= ${.CURDIR}/../renpy
PATCHDIR= ${.CURDIR}/files
DISTINFO_FILE= ${.CURDIR}/distinfo
PORTSCOUT= limit:^6\.18\.*
BUILD_DEPENDS= ${PYGAME}
RUN_DEPENDS= ${PYGAME}
USE_SDL= sdl
PORTDATA= templates
post-patch:
@${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
${WRKSRC}/launcher/game/project.rpy
post-install:
${CHMOD} -R u+w ${STAGEDIR}${DATADIR}/templates
.include "${MASTERDIR}/Makefile"