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>
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
PORTNAME= scidavis
|
|
PORTVERSION= 2.9.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= science
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= Scientific data analysis and visualization
|
|
WWW= http://scidavis.sourceforge.net
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libgsl.so:math/gsl \
|
|
libmuparser.so:math/muparser \
|
|
libpng.so:graphics/png \
|
|
libqwt5-qt5.so:x11-toolkits/qwt5-qt5 \
|
|
libqwtplot3d-qt5.so:math/qwtplot3d \
|
|
liborigin.so:math/liborigin
|
|
|
|
USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig \
|
|
qt:5 shared-mime-info
|
|
USE_GL= gl glu
|
|
USE_QT= core gui opengl printsupport svg widgets xml \
|
|
buildtools:build linguisttools:build qmake:build
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= highperformancecoder
|
|
CMAKE_ON= ORIGIN_IMPORT
|
|
CMAKE_OFF= DOWNLOAD_LINKS \
|
|
SEARCH_FOR_UPDATES
|
|
|
|
PORTSCOUT= skipv:qtiplot
|
|
|
|
OPTIONS_DEFINE= DOCS NLS PYTHON
|
|
OPTIONS_DEFAULT= PYTHON
|
|
OPTIONS_SUB= yes
|
|
|
|
PYTHON_DESC= Python scripting support
|
|
PYTHON_USES= pyqt:5 python
|
|
PYTHON_USE= PYQT=pyqt5 sip
|
|
PYTHON_CMAKE_ON= -DPython3_EXECUTABLE=${PYTHON_CMD} \
|
|
-DSCRIPTING_PYTHON=True
|
|
PYTHON_CMAKE_OFF= -DSCRIPTING_PYTHON=False
|
|
|
|
post-install-PYTHON-on:
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/scidavisrc.py \
|
|
${STAGEDIR}${PREFIX}/etc/scidavisrc.py.sample
|
|
|
|
.include <bsd.port.mk>
|