sc-im: Use BUILDLINK_{CFLAGS,LDADD}.ncursesw
authorSijmen J. Mulder <ik@sjmulder.nl>
Wed, 16 Jan 2019 22:57:47 +0000 (23:57 +0100)
committerSijmen J. Mulder <ik@sjmulder.nl>
Wed, 16 Jan 2019 23:03:05 +0000 (00:03 +0100)
sc-im/Makefile
sc-im/TODO

index b87467bc92a132cccb0fc91a968e7e36a50b2dcf..cd1a4c5f3a349e53384928ee3dcd721dcaeea000 100644 (file)
@@ -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}
 
index ff81551b9925352b521224e7eb9f7da94f2a9f9e..9496b8854c70b2e521124e011d3ef293ec642986 100644 (file)
@@ -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?