mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
3d9a815d9c
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>
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
PORTNAME= exabgp
|
|
PORTVERSION= 4.2.21
|
|
CATEGORIES= net
|
|
MASTER_SITES= GH \
|
|
ZI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
PKGNAMESUFFIX= 4
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= BGP engine and route injector
|
|
WWW= https://github.com/Exa-Networks/exabgp
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENCE.txt
|
|
|
|
USES= python shebangfix
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
CONFLICTS_INSTALL= exabgp
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= PYTHON_LIBDIR=${PYTHON_LIBDIR} PYTHON_CMD=${PYTHON_CMD} \
|
|
PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
|
|
USE_RC_SUBR= ${PORTNAME}
|
|
NO_ARCH= yes
|
|
|
|
SHEBANG_FILES= etc/exabgp/run/*.run etc/exabgp/run/*.pl \
|
|
etc/exabgp/run/*.py
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Exa-Networks
|
|
|
|
USERS= _bgpd
|
|
GROUPS= _bgpd
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|exabgp.env|${ETCDIR}/exabgp.env|' \
|
|
${WRKSRC}/lib/exabgp/application/bgp.py
|
|
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|' \
|
|
${WRKSRC}/doc/man/exabgp.1 \
|
|
${WRKSRC}/lib/exabgp/configuration/usage.py \
|
|
${WRKSRC}/lib/exabgp/configuration/process/parser.py \
|
|
${WRKSRC}/lib/exabgp/application/flow.py \
|
|
${WRKSRC}/lib/exabgp/application/healthcheck.py \
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} ${STAGEDIR}${ETCDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/exabgp.env ${STAGEDIR}${ETCDIR}/exabgp.env.sample
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/etc/exabgp && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|