aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/pykawari/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/pykawari/Makefile b/games/pykawari/Makefile
index a385c1c0070c..1455034250f7 100644
--- a/games/pykawari/Makefile
+++ b/games/pykawari/Makefile
@@ -34,6 +34,10 @@ NO_STAGE= yes
CFLAGS+= -fPIC
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|shell python|shell ${PYTHON_CMD}|' \
+ ${WRKSRC}/build/src/gcc.mak
+
do-build:
(cd ${WRKSRC}/build/src; CFLAGS="${CFLAGS}" ${GMAKE} -f gcc.mak PYTHONBASE=${PYTHONBASE} PYTHON_VERSION=${PYTHON_VERSION} PTHREAD_LIBS=${PTHREAD_LIBS} CXX=${CXX})