PYTHON_VERSIONS_ACCEPTED must be set before including the Python

fragments.
This commit is contained in:
joerg 2019-12-19 22:19:17 +00:00
parent ac423dde85
commit ae02bdbea5

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.61 2019/09/02 13:20:00 adam Exp $
# $NetBSD: Makefile,v 1.62 2019/12/19 22:19:17 joerg Exp $
DISTNAME= ScientificPython-2.8.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Python//}
@ -15,13 +15,13 @@ CONFLICTS+= py-Scientific-[0-9]*
MAKE_ENV+= NETCDF_PREFIX=${BUILDLINK_PREFIX.netcdf}
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 2.8.1
.include "../../lang/python/pyversion.mk"
PYPLAT_CMD= ${PYTHONBIN} -c "import sys; print sys.platform"
PLIST_SUBST+= PYPLAT=${PYPLAT_CMD:sh}
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 2.8.1
INSTALLATION_DIRS= bin
post-build: