Mercurial > hgrepos > FreeBSD > ports > www > uwsginl
view uwsginl-plugin-lang-php71/Makefile @ 93:c2215874f6a2
Patch pypy_setup.py for proper PY3 compatibility.
Patch is adapted from https://github.com/cxylpy/uwsgi-pypy-python3
and https://github.com/operasoftware/uwsgi-pypy-python3
See also:
- https://github.com/unbit/uwsgi-docs/compare/master...gralance:patch-1
- https://github.com/unbit/uwsgi/issues/869
Here are some performance numbers:
- https://www.programmersought.com/article/6518848518/
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 16 Jun 2020 23:56:15 +0200 |
| parents | d6afe642b5b9 |
| children | 4ddf40c2765a |
line wrap: on
line source
# Created by: Franz Glasner <freebsd-dev@dom66.de> # $FreeBSD$ PORTNAME= ${UWSGI_NAME}-plugin-lang-php71 CATEGORIES= www lang devel COMMENT= Language plugin for PHP 7.1 LIB_DEPENDS+= libxml2.so:textproc/libxml2 \ libpcre.so:devel/pcre USES= php:build,embed USE_PHP= session:build xml:build PHP_VER= 71 DEFAULT_VERSIONS+= php=${PHP_VER} MASTERDIR= ${.CURDIR}/../uwsginl-plugin-lang-py3 PLUGIN_NAME= php71 PLUGIN_SOURCE= plugins/php # # Check whether uwsginl has been built with both libpcre and libxml2 # pre-build: @( ${UWSGI_PATH} --no-server --cflags | ${GREP} -- '-DUWSGI_XML_LIBXML2' >/dev/null ) || ( echo "Error: ${UWSGI_PATH} needs to be built with XML support (libxml2)" && exit 1 ) @( ${UWSGI_PATH} --no-server --cflags | ${GREP} -- '-DUWSGI_PCRE' >/dev/null ) || ( echo "Error: ${UWSGI_PATH} needs to be built with PCRE support (libpcre)" && exit 1 ) .include "${MASTERDIR}/Makefile"
