svn commit: r430933 - head/lang/micropython
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Jan 9 10:00:15 UTC 2017
Author: amdmi3
Date: Mon Jan 9 10:00:14 2017
New Revision: 430933
URL: https://svnweb.freebsd.org/changeset/ports/430933
Log:
- Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
- Switch to new test framework
Approved by: portmgr blanket
Modified:
head/lang/micropython/Makefile
Modified: head/lang/micropython/Makefile
==============================================================================
--- head/lang/micropython/Makefile Mon Jan 9 09:54:20 2017 (r430932)
+++ head/lang/micropython/Makefile Mon Jan 9 10:00:14 2017 (r430933)
@@ -24,15 +24,7 @@ WRKSRC_SUBDIR= unix
SHEBANG_FILES= ../tools/make-frozen.py
MAKE_ARGS+= V=1
MAKE_ENV+= PYTHON=${PYTHON_CMD} CFLAGS_EXTRA="${CPPFLAGS} ${CFLAGS}"
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1000024
-# Our default GCC 4.2.1 build can't handle some quirks correctly.
-# Use an up to date version for FreeBSD releases, which use GCC
-# as default compiler
-USE_GCC= yes
-.endif
+TEST_TARGET= test
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||;/^COPT =/d; \
@@ -49,8 +41,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/micropython ${STAGEDIR}${PREFIX}/bin
-regression-test: build
- ${RM} ${WRKSRC}/../tests/basics/memoryerror.py
- cd ${WRKSRC} && ${MAKE_CMD} test
+pre-test:
+ @${RM} ${WRKSRC}/../tests/basics/memoryerror.py
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list