Browse Source

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

master
Bernhard Fröhlich 3 months ago
parent
commit
3a56217403
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      lang/micropython/Makefile

+ 6
- 0
lang/micropython/Makefile View File

@@ -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>

Loading…
Cancel
Save