pkgsrc-WIP-changes archive

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

sacc: terminfo is enough (curses is not needed)



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Feb 26 11:44:23 2018 +0100
Changeset:	602bf98146f6e8dff3dc0d36b278c33250e43d38

Modified Files:
	sacc/Makefile

Log Message:
sacc: terminfo is enough (curses is not needed)

Include terminfo.buildlink3.mk instead of curses.buildlink3.mk,
just <term.h> and <termios.h> are used (and terminfo.buildlink3.mk
should be enough for them).

Avoid (hardcoded) `-lcurses' in config.mk injecting
${BUILDLINK_LDADD.terminfo} via LIBS.

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

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

diffstat:
 sacc/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diffs:
diff --git a/sacc/Makefile b/sacc/Makefile
index fb8c0335d1..7e19572cc2 100644
--- a/sacc/Makefile
+++ b/sacc/Makefile
@@ -13,6 +13,7 @@ LICENSE=	isc
 
 MAKE_FLAGS+=	PREFIX="${PREFIX}"
 MAKE_FLAGS+=	MANDIR="${PREFIX}/${PKGMANDIR}/man1"
+MAKE_FLAGS+=	LIBS=${BUILDLINK_LDADD.terminfo}
 
-.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/terminfo.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index