diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2015-12-16 09:35:10 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2015-12-16 09:35:10 +0000 |
commit | e2c689dbf3e09f5451549997f18eb7d90894cd98 (patch) | |
tree | 3c6438d41295ebfc30075b5f10a8aaa1c676c6f4 /lang/micropython/Makefile | |
parent | e2934de9f73be22f42e02afbbc841bf0b2b30f8b (diff) | |
download | ports-e2c689dbf3e09f5451549997f18eb7d90894cd98.tar.gz ports-e2c689dbf3e09f5451549997f18eb7d90894cd98.zip |
Notes
Diffstat (limited to 'lang/micropython/Makefile')
-rw-r--r-- | lang/micropython/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lang/micropython/Makefile b/lang/micropython/Makefile index 0a00413bf459..8fa82985657e 100644 --- a/lang/micropython/Makefile +++ b/lang/micropython/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= micropython -PORTVERSION= 1.4 +PORTVERSION= 1.5.1 DISTVERSIONPREFIX= v CATEGORIES= lang python @@ -18,10 +18,9 @@ USE_GITHUB= yes PLIST_FILES= bin/micropython -WRKSRC= ${WRKDIR}/${PORTNAME}-1.4/unix +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/unix -SHEBANG_FILES= ../py/py-version.sh -bash_CMD?= /bin/sh +SHEBANG_FILES= ../tools/make-frozen.py MAKE_ARGS+= V=1 MAKE_ENV+= PYTHON=${PYTHON_CMD} CFLAGS_EXTRA="${CPPFLAGS} ${CFLAGS}" @@ -35,7 +34,10 @@ USE_GCC= yes .endif post-patch: - @${REINPLACE_CMD} -e 's|-Werror||;/^COPT =/d' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|-Werror||;/^COPT =/d; \ + s|ls -1 -v|ls -1|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|re_exec|mp_re_exec|' \ + ${WRKSRC}/../extmod/modure.c @${REINPLACE_CMD} -e 's|AS =|AS ?=|;s|LD =|LD ?=|; \ s|CC =|CC ?=|;s|PYTHON =|PYTHON ?=|' \ ${WRKSRC}/../py/mkenv.mk |