Skip to content
Permalink
Browse files

lang/micropython: Add patches from old port to use our tools

  • Loading branch information...
decke committed May 16, 2019
1 parent d4bc38f commit 3a562174038292a98018ddba7df7552350ff986b
Showing with 6 additions and 0 deletions.
  1. +6 −0 lang/micropython/Makefile
@@ -22,6 +22,12 @@ PLIST_FILES= bin/micropython

WRKSRC_SUBDIR= ports/unix
MAKE_ARGS+= V=1
MAKE_ENV+= PYTHON=${PYTHON_CMD} CFLAGS_EXTRA="${CPPFLAGS} ${CFLAGS}"
ALL_TARGET= axtls micropython

post-patch:
@${REINPLACE_CMD} -e 's|AS =|AS ?=|;s|LD =|LD ?=|; \
s|CC =|CC ?=|;s|PYTHON =|PYTHON ?=|' \
${WRKSRC}/../py/mkenv.mk

.include <bsd.port.mk>

0 comments on commit 3a56217

Please sign in to comment.
You can’t perform that action at this time.