FreeBSD Bugzilla – Attachment 221707 Details for
Bug 252805
devel/notcurses: allow using base ncurses
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to make ports ncurses optional
notcurses-base-rev0.diff (text/plain), 1.73 KB, created by
Steve Wills
on 2021-01-18 13:48:10 UTC
(
hide
)
Description:
patch to make ports ncurses optional
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2021-01-18 13:48:10 UTC
Size:
1.73 KB
patch
obsolete
>diff --git devel/notcurses/Makefile devel/notcurses/Makefile >index 2575540011b1..71a923146abd 100644 >--- devel/notcurses/Makefile >+++ devel/notcurses/Makefile >@@ -3,6 +3,7 @@ > PORTNAME= notcurses > DISTVERSIONPREFIX= v > DISTVERSION= ${ABIVERSION}.1.5 >+PORTREVISION= 1 > CATEGORIES= devel > > MAINTAINER= nickblack@linux.com >@@ -15,7 +16,7 @@ LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ > libqrcodegen.so:graphics/qr-code-generator \ > libunistring.so:devel/libunistring > >-USES= cmake:noninja compiler:c++17-lang localbase ncurses:port pkgconfig \ >+USES= cmake:noninja compiler:c++17-lang localbase ncurses pkgconfig \ > readline > USE_GITHUB= yes > GH_ACCOUNT= dankamongmen >@@ -38,4 +39,12 @@ DOCS_CMAKE_BOOL= USE_PANDOC USE_DOCTEST > > ABIVERSION= 2 > >+.include <bsd.port.options.mk> >+ >+.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079 >+USES+= ncurses >+.else >+USES+= ncurses:port >+.endif >+ > .include <bsd.port.mk> >diff --git devel/notcurses/files/patch-CMakeLists.txt devel/notcurses/files/patch-CMakeLists.txt >new file mode 100644 >index 000000000000..a01f31c48ee3 >--- /dev/null >+++ devel/notcurses/files/patch-CMakeLists.txt >@@ -0,0 +1,11 @@ >+--- CMakeLists.txt.orig 2021-01-17 23:44:46 UTC >++++ CMakeLists.txt >+@@ -74,7 +74,7 @@ find_package(Threads) >+ set_package_properties(Threads PROPERTIES TYPE REQUIRED) >+ # some distros (<cough>motherfucking alpine</cough> subsume terminfo directly >+ # into ncurses. accept either, and may god have mercy on our souls. >+-pkg_search_module(TERMINFO REQUIRED tinfo>=6.1 ncursesw>=6.1) >++pkg_search_module(TERMINFO tinfo>=6.1 ncursesw>=6.1) >+ set_property(GLOBAL APPEND PROPERTY PACKAGES_FOUND terminfo) >+ set_package_properties(terminfo PROPERTIES TYPE REQUIRED) >+ pkg_search_module(READLINE REQUIRED readline>=8.0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252805
: 221707