pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ftxui: added CMAKE option to build .so



Module Name:	pkgsrc-wip
Committed By:	Mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Tue Nov 25 21:37:35 2025 +0530
Changeset:	ddde0d67c6f443020f14401757a5ced2c382e923

Modified Files:
	ftxui/Makefile
	ftxui/PLIST

Log Message:
ftxui: added CMAKE option to build .so

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ddde0d67c6f443020f14401757a5ced2c382e923

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ftxui/Makefile | 2 ++
 ftxui/PLIST    | 9 ++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs:
diff --git a/ftxui/Makefile b/ftxui/Makefile
index bb1efa30d4..e747c82705 100644
--- a/ftxui/Makefile
+++ b/ftxui/Makefile
@@ -14,6 +14,8 @@ LICENSE=	mit
 
 WRKSRC=	${WRKDIR}/${DISTNAME}
 
+CMAKE_CONFIGURE_ARGS+=	-DBUILD_SHARED_LIBS=YES
+
 USE_LANGUAGES=	c++
 
 PKGCONFIG_OVERRIDE+=	ftxui.pc.in
diff --git a/ftxui/PLIST b/ftxui/PLIST
index 690b0a563d..3a5cc21076 100644
--- a/ftxui/PLIST
+++ b/ftxui/PLIST
@@ -36,7 +36,10 @@ lib/cmake/ftxui/ftxui-config-version.cmake
 lib/cmake/ftxui/ftxui-config.cmake
 lib/cmake/ftxui/ftxui-targets-noconfig.cmake
 lib/cmake/ftxui/ftxui-targets.cmake
-lib/libftxui-component.a
-lib/libftxui-dom.a
-lib/libftxui-screen.a
+lib/libftxui-component.so
+lib/libftxui-component.so.${PKGVERSION}
+lib/libftxui-dom.so
+lib/libftxui-dom.so.${PKGVERSION}
+lib/libftxui-screen.so
+lib/libftxui-screen.so.${PKGVERSION}
 lib/pkgconfig/ftxui.pc


Home | Main Index | Thread Index | Old Index