pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/sc-im



Module Name:    pkgsrc
Committed By:   sjmulder
Date:           Mon May  6 09:00:14 UTC 2019

Modified Files:
        pkgsrc/math/sc-im: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/sc-im/Makefile

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

Modified files:

Index: pkgsrc/math/sc-im/Makefile
diff -u pkgsrc/math/sc-im/Makefile:1.2 pkgsrc/math/sc-im/Makefile:1.3
--- pkgsrc/math/sc-im/Makefile:1.2      Mon Feb 11 22:01:18 2019
+++ pkgsrc/math/sc-im/Makefile  Mon May  6 09:00:14 2019
@@ -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"



Home | Main Index | Thread Index | Old Index