The logic in USES=python will automatically convert this to 3.8+ by itself. Adjust two ports that only had Python 3.7 mentioned but build fine on Python 3.8 too. finance/quickfix: mark BROKEN with PYTHON libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found ^~~~~~~~~~ 1 warning and 1 error generated. Reviewed by: portmgr, vishwin, yuri Differential Revision: <https://reviews.freebsd.org/D40568>
63 lines
1.9 KiB
Makefile
63 lines
1.9 KiB
Makefile
PORTNAME= libsoup
|
|
PORTVERSION= 3.2.2
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome
|
|
PKGNAMESUFFIX= 3
|
|
|
|
MAINTAINER= desktop@FreeBSD.org
|
|
COMMENT= HTTP client/server library for GNOME
|
|
|
|
LICENSE= LGPL20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= glib-networking>0:net/glib-networking \
|
|
${PYTHON_PKGNAMEPREFIX}gi-docgen>=0:textproc/py-gi-docgen@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}smartypants>0:textproc/py-smartypants@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}typogrify>0:textproc/py-typogrify@${PY_FLAVOR}
|
|
|
|
LIB_DEPENDS= libbrotlidec.so:archivers/brotli \
|
|
libnghttp2.so:www/libnghttp2 \
|
|
libpsl.so:dns/libpsl
|
|
|
|
RUN_DEPENDS= glib-networking>0:net/glib-networking
|
|
|
|
USES= cpe gettext gnome meson pkgconfig python:build sqlite \
|
|
ssl tar:xz
|
|
USE_GNOME= glib20 intlhack introspection:build libxml2
|
|
USE_LDCONFIG= yes
|
|
CPE_VENDOR= gnome
|
|
|
|
OPTIONS_SINGLE= GSSAPI
|
|
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
|
|
OPTIONS_DEFAULT= GSSAPI_${${SSL_DEFAULT} == base :?BASE :NONE}
|
|
|
|
MESON_ARGS= -Dtests=false \
|
|
-Dinstalled_tests=false \
|
|
-Dsysprof=disabled \
|
|
-Dpkcs11_tests=disabled \
|
|
-Dfuzzing=disabled \
|
|
-Dautobahn=disabled \
|
|
-Dtls_check=true \
|
|
-Dvapi=disabled \
|
|
-Dntlm=disabled
|
|
|
|
GSSAPI_BASE_USES= gssapi
|
|
GSSAPI_BASE_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG}
|
|
|
|
GSSAPI_HEIMDAL_USES= gssapi:heimdal
|
|
GSSAPI_HEIMDAL_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG}
|
|
|
|
GSSAPI_MIT_USES= gssapi:mit
|
|
GSSAPI_MIT_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG}
|
|
|
|
GSSAPI_NONE_MESON_DISABLED= gssapi
|
|
|
|
BINARY_ALIAS= python3=${PYTHON_CMD}
|
|
|
|
.include <bsd.port.mk>
|