annotate uwsginl-plugin-greenlet3/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 d88a803c3b1e
children 4ddf40c2765a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
62
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 # Created by: Franz Glasner <freebsd-dev-@dom66.de>
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2 # $FreeBSD$
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
3
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4 PORTNAME= ${UWSGI_NAME}-plugin-${PLUGIN_NAME}
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
6 COMMENT= Python3 greenlet plugin for ${UWSGI_NAME}
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
7
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
8 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4:devel/py-greenlet@${PY_FLAVOR}
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
9 BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4:devel/py-greenlet@${PY_FLAVOR}
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
10
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
11 PLUGIN_NAME= greenlet3
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
12 PLUGIN_SOURCE= plugins/greenlet
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
13
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14 MASTERDIR= ${.CURDIR}/../uwsginl-plugin-lang-py3
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
15
d88a803c3b1e Build "greenlet" plugins for Python3 and Python3.6
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
16 .include "${MASTERDIR}/Makefile"