pkgsrc-WIP-changes archive

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

sc-im: Use BUILDLINK_{CFLAGS,LDADD}.ncursesw



Module Name:	pkgsrc-wip
Committed By:	Sijmen J. Mulder <ik%sjmulder.nl@localhost>
Pushed By:	sjmulder
Date:		Wed Jan 16 23:57:47 2019 +0100
Changeset:	af8ee7dce069d87337d606e77dbc2e10610fdf43

Modified Files:
	sc-im/Makefile
	sc-im/TODO

Log Message:
sc-im: Use BUILDLINK_{CFLAGS,LDADD}.ncursesw

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

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

diffstat:
 sc-im/Makefile | 4 ++--
 sc-im/TODO     | 3 ---
 2 files changed, 2 insertions(+), 5 deletions(-)

diffs:
diff --git a/sc-im/Makefile b/sc-im/Makefile
index b87467bc92..cd1a4c5f3a 100644
--- a/sc-im/Makefile
+++ b/sc-im/Makefile
@@ -22,8 +22,8 @@ USE_CURSES=	wide
 # gnuplot is invoked through the shell, no need to check at compile time
 CFLAGS+=	-DGNUPLOT
 
-MAKE_ENV+=	CFLAGS_CURSES=
-MAKE_ENV+=	LDLIBS_CURSES=-lncursesw
+MAKE_ENV+=	CFLAGS_CURSES=${BUILDLINK_CFLAGS.ncursesw:Q}
+MAKE_ENV+=	LDLIBS_CURSES=${BUILDLINK_LDADD.ncursesw:Q}
 MAKE_ENV+=	CFLAGS_DL=${BUILDLINK_CFLAGS.dl:Q}
 MAKE_ENV+=	LDLIBS_DL=${BUILDLINK_LDADD.dl:Q}
 
diff --git a/sc-im/TODO b/sc-im/TODO
index ff81551b99..9496b8854c 100644
--- a/sc-im/TODO
+++ b/sc-im/TODO
@@ -19,6 +19,3 @@ ncursesw 6.1 on xterm-256color terminals:
 
 An xls option can be added once libxls hits 1.5 and is included in
 pkgsrc. Version 1.4 has many vulnerabilities.
-
-- Can CFLAGS_CURSES and LDLIBS_CURSES reuse BUILDLINK_CFLAGS.ncursesw and
-  BUILDLINK_LDADD.ncursesw?


Home | Main Index | Thread Index | Old Index