diff options
author | wg <wg@FreeBSD.org> | 2013-12-16 01:21:06 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-12-16 01:21:06 +0800 |
commit | 918ad5f4809e16c907215b0422c5d92c8e7745c5 (patch) | |
tree | f32a0b70937f89fbe8b6ce6d3e3316292faf1b67 /lang/tinypy | |
parent | 0867f4be94607a3ad12daf460b2a80d0f6496231 (diff) | |
download | freebsd-ports-gnome-918ad5f4809e16c907215b0422c5d92c8e7745c5.tar.gz freebsd-ports-gnome-918ad5f4809e16c907215b0422c5d92c8e7745c5.tar.zst freebsd-ports-gnome-918ad5f4809e16c907215b0422c5d92c8e7745c5.zip |
lang/tinypy: fix usage of python and examples
Reported by: exp-run (PR 184591)
Approved by: portmgr (blanket)
Diffstat (limited to 'lang/tinypy')
-rw-r--r-- | lang/tinypy/Makefile | 3 |
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: |