pkgsrc-WIP-changes archive

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

vis-editor: fixed dependency of curses and ncurses



Module Name:	pkgsrc-wip
Committed By:	Manuel Kuklinski <mk%asdfghasdfgh.de@localhost>
Pushed By:	mk
Date:		Thu Jul 27 06:03:02 2023 +0000
Changeset:	50251ecb904c08def9de731c01eaf669247bb8ea

Modified Files:
	vis-editor/Makefile

Log Message:
vis-editor: fixed dependency of curses and ncurses

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

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

diffstat:
 vis-editor/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diffs:
diff --git a/vis-editor/Makefile b/vis-editor/Makefile
index 8e5a200d11..8c5fa20419 100644
--- a/vis-editor/Makefile
+++ b/vis-editor/Makefile
@@ -59,7 +59,14 @@ post-install:
 	${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vis-digraph.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vis-editor-digraph.1
 	${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vis-menu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vis-editor-menu.1
 
-.include·"../../devel/ncursesw/buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+.include "../../mk/curses.buildlink3.mk"
+.else
+.include "../../devel/ncursesw/buildlink3.mk"
+.endif
+
 .include "../../lang/lua/buildlink3.mk"
 .include "../../devel/libtermkey/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index