diff options
author | sjmulder <sjmulder@pkgsrc.org> | 2019-05-06 09:00:14 +0000 |
---|---|---|
committer | sjmulder <sjmulder@pkgsrc.org> | 2019-05-06 09:00:14 +0000 |
commit | 683961e7634165121ec5bf0547bba183ece12908 (patch) | |
tree | ee8d4e66e74de10486c81716218d2ae838ea33ee /math | |
parent | 48851ed4a6450a5cb768a864613433c58ffd272c (diff) | |
download | pkgsrc-683961e7634165121ec5bf0547bba183ece12908.tar.gz |
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 (limited to 'math')
-rw-r--r-- | math/sc-im/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/math/sc-im/Makefile b/math/sc-im/Makefile index 1014f35b2b7..ba639bbce4e 100644 --- a/math/sc-im/Makefile +++ b/math/sc-im/Makefile @@ -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+= name=sc-im MAKE_FLAGS+= prefix=${PREFIX} MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1 -.include "options.mk" - .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 "../../mk/bsd.pkg.mk" |