aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/tinypy/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/tinypy/Makefile b/lang/tinypy/Makefile
index 9c3ef977eb85..111d2e0b8b03 100644
--- a/lang/tinypy/Makefile
+++ b/lang/tinypy/Makefile
@@ -16,7 +16,6 @@ PYDISTUTILS_BUILD_TARGET= linux
PYDISTUTILS_NOEGGINFO= yes
PLIST_FILES= bin/tinypy
-PORTEXAMPLES= *
OPTIONS_DEFINE= PYGAME
PYGAME_DESC= PyGame support (requires SDL)
@@ -27,12 +26,14 @@ NO_STAGE= yes
.if ${PORT_OPTIONS:MPYGAME}
PYDISTUTILS_BUILD_TARGET+= pygame
USE_SDL= sdl
+PORTEXAMPLES= *
.endif
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-O.||; s|gcc $$WFLAGS|${CC} ${CFLAGS} -std=c89 -Wall|' \
+ -e 's|python |${PYTHON_CMD} |g' \
${WRKSRC}/setup.py
do-configure: