View | Details | Raw Unified | Return to bug 252805
Collapse All | Expand All

(-)devel/notcurses/Makefile (-1 / +10 lines)
Lines 3-8 Link Here
3
PORTNAME=	notcurses
3
PORTNAME=	notcurses
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	${ABIVERSION}.1.5
5
DISTVERSION=	${ABIVERSION}.1.5
6
PORTREVISION=	1
6
CATEGORIES=	devel
7
CATEGORIES=	devel
7
8
8
MAINTAINER=	nickblack@linux.com
9
MAINTAINER=	nickblack@linux.com
Lines 15-21 LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ Link Here
15
		libqrcodegen.so:graphics/qr-code-generator \
16
		libqrcodegen.so:graphics/qr-code-generator \
16
		libunistring.so:devel/libunistring
17
		libunistring.so:devel/libunistring
17
18
18
USES=		cmake:noninja compiler:c++17-lang localbase ncurses:port pkgconfig \
19
USES=		cmake:noninja compiler:c++17-lang localbase ncurses pkgconfig \
19
		readline
20
		readline
20
USE_GITHUB=	yes
21
USE_GITHUB=	yes
21
GH_ACCOUNT=	dankamongmen
22
GH_ACCOUNT=	dankamongmen
Lines 38-41 DOCS_CMAKE_BOOL= USE_PANDOC USE_DOCTEST Link Here
38
39
39
ABIVERSION=	2
40
ABIVERSION=	2
40
41
42
.include <bsd.port.options.mk>
43
44
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
45
USES+=		ncurses
46
.else
47
USES+=		ncurses:port
48
.endif
49
41
.include <bsd.port.mk>
50
.include <bsd.port.mk>
(-)devel/notcurses/files/patch-CMakeLists.txt (+11 lines)
Added Link Here
1
--- CMakeLists.txt.orig	2021-01-17 23:44:46 UTC
2
+++ CMakeLists.txt
3
@@ -74,7 +74,7 @@ find_package(Threads)
4
 set_package_properties(Threads PROPERTIES TYPE REQUIRED)
5
 # some distros (<cough>motherfucking alpine</cough> subsume terminfo directly
6
 # into ncurses. accept either, and may god have mercy on our souls.
7
-pkg_search_module(TERMINFO REQUIRED tinfo>=6.1 ncursesw>=6.1)
8
+pkg_search_module(TERMINFO tinfo>=6.1 ncursesw>=6.1)
9
 set_property(GLOBAL APPEND PROPERTY PACKAGES_FOUND terminfo)
10
 set_package_properties(terminfo PROPERTIES TYPE REQUIRED)
11
 pkg_search_module(READLINE REQUIRED readline>=8.0)

Return to bug 252805