pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/sc-im sc-im: fix ncursesw link failure if not bui...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5ebcb836e7c6
branches: trunk
changeset: 333400:5ebcb836e7c6
user: sjmulder <sjmulder%pkgsrc.org@localhost>
date: Mon May 06 09:00:14 2019 +0000
description:
sc-im: fix ncursesw link failure if not built in
If not using builtin curses and the ncurses bl3 is included before
ncursesw, as happens through the lua option, the ncurses bl3 sabotages
-lncursesw so make sure to include ncursesw first thing.
diffstat:
math/sc-im/Makefile | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 5b9c8097ff43 -r 5ebcb836e7c6 math/sc-im/Makefile
--- a/math/sc-im/Makefile Mon May 06 08:58:16 2019 +0000
+++ b/math/sc-im/Makefile Mon May 06 09:00:14 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2019/02/11 22:01:18 leot Exp $
+# $NetBSD: Makefile,v 1.3 2019/05/06 09:00:14 sjmulder Exp $
DISTNAME= sc-im-0.7.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=andmarti1424/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -32,8 +32,11 @@
MAKE_FLAGS+= prefix=${PREFIX}
MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+
+# Include after ncursesw bl3, otherwise ncurses bl3 (non-wide), included
+# as a transitive dependency of lua, sabotages the -lncurses transform.
.include "options.mk"
-.include "../../devel/ncursesw/buildlink3.mk"
-.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index