1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/x11-toolkits/vte3/Makefile
Rene Ladan 3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
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>
2023-06-27 21:34:34 +02:00

60 lines
1.5 KiB
Makefile

PORTNAME= vte
PORTVERSION= 0.70.2
PORTREVISION= 3
CATEGORIES= x11-toolkits gnome
MASTER_SITES= GNOME
PKGNAMESUFFIX= 3
DIST_SUBDIR= gnome
PATCH_SITES= https://gitlab.gnome.org/GNOME/vte/-/commit/
PATCHFILES+= 9b41cd101429.patch:-p1 #https://gitlab.gnome.org/GNOME/vte/-/issues/2618
MAINTAINER= gnome@FreeBSD.org
COMMENT= Terminal widget with improved accessibility and I18N support
WWW= https://wiki.gnome.org/Apps/Terminal/VTE
LICENSE= LGPL21
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libgnutls.so:security/gnutls \
libfribidi.so:converters/fribidi \
libpcre2-8.so:devel/pcre2 \
libicuuc.so:devel/icu
PORTSCOUT= limitw:1,even
USES= compiler:c++11-lang gettext gnome localbase meson \
pkgconfig python tar:xz vala:build
USE_LDCONFIG= yes
USE_GNOME= cairo gdkpixbuf2 gtk30 gtk40 introspection:build
MESON_ARGS= -Da11y=true \
-Dgir=true \
-Dfribidi=true \
-Dgtk3=true \
-Dgtk4=true \
-Dicu=true \
-D_systemd=false \
-Dvapi=true
# shlib version numbers comes from gtk3/4 meson options not from PYTHON_VER
PLIST_SUB= VERSION=2.91 VER3=3.91
BINARY_ALIAS= python3=${PYTHON_CMD}
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} < 1300109
CPP= ${LOCALBASE}/bin/clang-cpp${_LLVM_VERSION}
CC= ${LOCALBASE}/bin/clang${_LLVM_VERSION}
CXX= ${LOCALBASE}/bin/clang++${_LLVM_VERSION}
BUILD_DEPENDS+= llvm${_LLVM_VERSION}>=0:devel/llvm${_LLVM_VERSION}
.if ${LLVM_DEFAULT} == 10
_LLVM_VERSION= 11
.else
_LLVM_VERSION= ${LLVM_DEFAULT}
.endif
.endif
.include <bsd.port.post.mk>