pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/editors/neovim
Module Name: pkgsrc
Committed By: tm
Date: Mon Aug 28 09:05:36 UTC 2023
Modified Files:
pkgsrc/editors/neovim: Makefile
Log Message:
neovim: dependency fix for MacOS
Use correct SHLIB (dylib) extension on MacOS for libvterm.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/editors/neovim/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/editors/neovim/Makefile
diff -u pkgsrc/editors/neovim/Makefile:1.6 pkgsrc/editors/neovim/Makefile:1.7
--- pkgsrc/editors/neovim/Makefile:1.6 Tue Apr 25 23:36:19 2023
+++ pkgsrc/editors/neovim/Makefile Mon Aug 28 09:05:36 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2023/04/25 23:36:19 nikita Exp $
+# $NetBSD: Makefile,v 1.7 2023/08/28 09:05:36 tm Exp $
DISTNAME= neovim-0.9.0
CATEGORIES= editors
@@ -15,8 +15,15 @@ USE_TOOLS+= pkg-config xgettext
USE_LANGUAGES= c c++
+.include "../../mk/bsd.prefs.mk"
+.if ${SHLIB_TYPE} == "dylib"
+SHLIB_EXT= dylib
+.else
+SHLIB_EXT= so
+.endif
+
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
-CMAKE_ARGS+= -DLIBVTERM_LIBRARY=${BUILDLINK_PREFIX.libvterm03}/lib/libvterm03/libvterm.so
+CMAKE_ARGS+= -DLIBVTERM_LIBRARY=${BUILDLINK_PREFIX.libvterm03}/lib/libvterm03/libvterm.${SHLIB_EXT}
CMAKE_ARGS+= -DLIBVTERM_INCLUDE_DIR=${BUILDLINK_PREFIX.libvterm03}/include/libvterm03
CONFIGURE_DIRS= ${WRKDIR}/build
Home |
Main Index |
Thread Index |
Old Index