view uwsginl-plugin-tornado3/Makefile @ 77:278470dc420d

Provide a "pypy3"-plugin project and make the PyPy-plugin compile properly on FreeBSD. Because pypy_setup.py needs to be properly included within the plugin binary the corresponding binary linking step has been changed to include an "-m" flag because on FreeBSD the current LLVM linker (ld.lld) obviously has no default setting. Per default it is derived from the first object file. But in the binary linking step there is no such .o file. It needs to be included within the uwsgi binary because it is neede to build the plugins when using the uwsgi binary with the "--build-plugin" option.
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 14 Jun 2020 20:03:33 +0200
parents 87b820419e58
children 4ddf40c2765a
line wrap: on
line source

# Created by: Franz Glasner <freebsd-dev-@dom66.de>
# $FreeBSD$

PORTNAME=	${UWSGI_NAME}-plugin-${PLUGIN_NAME}

COMMENT=	Python3 tornado plugin for ${UWSGI_NAME}

RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tornado>=5.0:devel/py-tornado@${PY_FLAVOR}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=5.0:devel/py-tornado@${PY_FLAVOR}

PLUGIN_NAME=	tornado3
PLUGIN_SOURCE=	plugins/tornado

MASTERDIR=	${.CURDIR}/../uwsginl-plugin-lang-py3

.include	"${MASTERDIR}/Makefile"