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>
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
PORTNAME= libxmlbird
|
|
DISTVERSION= 1.2.12
|
|
CATEGORIES= textproc devel
|
|
MASTER_SITES= https://birdfont.org/xmlbird-releases/
|
|
|
|
MAINTAINER= 0mp@FreeBSD.org
|
|
COMMENT= XML parser for Vala and C programs
|
|
WWW= https://birdfont.org/xmlbird.php
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/LGPLv3.txt
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}doit>0:devel/py-doit@${PY_FLAVOR}
|
|
|
|
USES= gettext-runtime gnome pkgconfig python:build shebangfix tar:xz vala:build
|
|
USE_GNOME= glib20
|
|
USE_LDCONFIG= yes
|
|
SHEBANG_FILES= configure install.py
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --cc="${CC}" \
|
|
--cflags="${CFLAGS}" \
|
|
--dest="${STAGEDIR}" \
|
|
--ldflags="${LDFLAGS}" \
|
|
--prefix="${PREFIX}"
|
|
|
|
PLIST_FILES= include/xmlbird.h \
|
|
lib/libxmlbird.so \
|
|
lib/libxmlbird.so.1 \
|
|
libdata/pkgconfig/xmlbird.pc \
|
|
share/vala/vapi/xmlbird.vapi
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/doit)
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ./install.py --dest="${STAGEDIR}")
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxmlbird.so.1
|
|
|
|
.include <bsd.port.mk>
|