pkgsrc-WIP-changes archive

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

sc-im: macOS ncurses workaround



Module Name:	pkgsrc-wip
Committed By:	Sijmen J. Mulder <ik%sjmulder.nl@localhost>
Pushed By:	sjmulder
Date:		Tue Dec 18 02:47:18 2018 +0100
Changeset:	65d41847906c2a1b0284d29abba0911129f3c5b3

Modified Files:
	sc-im/Makefile

Log Message:
sc-im: macOS ncurses workaround

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

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

diffstat:
 sc-im/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/sc-im/Makefile b/sc-im/Makefile
index bf2d4b5276..97c536533a 100644
--- a/sc-im/Makefile
+++ b/sc-im/Makefile
@@ -31,7 +31,13 @@ MAKE_FLAGS+=	MANDIR=${PREFIX}/${PKGMANDIR}/man1
 
 .include "options.mk"
 
-# doesn't work with NetBSD curses
+# doesn't work with NetBSD curses so explicitly link ncursesw.
+#
+# hardcodes -lncurses on macOS which is expected to have wide char
+# support, so use system ncurses there
+.if ${OPSYS} != "Darwin"
 .include "../../devel/ncursesw/buildlink3.mk"
+.endif
+
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index