git: 3cc557e6e51a - main - x11/kitty: Fix 12.3R (amd64,i386) build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Aug 2022 22:12:56 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=3cc557e6e51a495df1723777c9509925b4da5a8c commit 3cc557e6e51a495df1723777c9509925b4da5a8c Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2022-08-01 22:03:08 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-08-01 22:03:08 +0000 x11/kitty: Fix 12.3R (amd64,i386) build - add LIB_DEPENDS= libepoll-shim-interpose.so:devel/libepoll-shim CPPFLAGS+= `pkg-config --cflags epoll-shim-interpose` LDFLAGS+= `pkg-config --libs epoll-shim-interpose` - add missing USES= desktop-file-utils PR: 265393 --- x11/kitty/Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile index 88118c0bbe89..e0002643e008 100644 --- a/x11/kitty/Makefile +++ b/x11/kitty/Makefile @@ -1,7 +1,8 @@ PORTNAME= kitty DISTVERSION= 0.25.0 +PORTREVISION= 1 CATEGORIES= x11 wayland -MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/ +MASTER_SITES= https://github.com/kovidgoyal/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= alexis.praga@free.fr COMMENT= Cross-platform, fast, featureful, GPU-based terminal emulator @@ -16,6 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \ wayland-protocols>=0:graphics/wayland-protocols LIB_DEPENDS= libdbus-1.so:devel/dbus \ + libepoll-shim-interpose.so:devel/libepoll-shim \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ @@ -26,12 +28,11 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon -USES= compiler:c11 cpe gettext-runtime gl gmake pkgconfig \ - python:3.5+ shebangfix tar:xz terminfo xorg -GH_ACCOUNT= kovidgoyal +USES= compiler:c11 cpe desktop-file-utils gettext-runtime gl gmake \ + pkgconfig python:3.5+ shebangfix tar:xz terminfo xorg +CPE_VENDOR= kitty_project USE_GL= gl USE_XORG= x11 xcb xcursor xi xinerama xrandr -CPE_VENDOR= kitty_project SHEBANG_FILES= build-terminfo count-lines-of-code mypy-editor-integration \ update-on-ox update-on-ubuntu @@ -40,6 +41,9 @@ SHEBANG_GLOB= *.py TEST_ENV= PATH="${STAGEDIR}${PREFIX}/bin:${PATH}" TEST_TARGET= test +CPPFLAGS+= `pkg-config --cflags epoll-shim-interpose` +LDFLAGS+= `pkg-config --libs epoll-shim-interpose` + BINARY_ALIAS= python3=${PYTHON_CMD} python=${PYTHON_CMD} INSTALL_WRKSRC= ${WRKSRC}/linux-package @@ -61,9 +65,9 @@ MAKE_ENV+= KITTY_NO_LTO=1 # ncursesw and tinfo >= 6.1 seem to be neededd .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400035 -USES+=ncurses:port +USES+= ncurses:port .else -USES+=ncurses +USES+= ncurses .endif # For librsync, we need to set header and library path