svn commit: r520687 - head/www/netrik
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 23 08:38:21 UTC 2019
Author: bapt
Date: Mon Dec 23 08:38:20 2019
New Revision: 520687
URL: https://svnweb.freebsd.org/changeset/ports/520687
Log:
The configure scripts to hardcode the lookup of ncurses by searching
ncursesw.
Replace it by NCURSES_IMPL to be futur proof
Modified:
head/www/netrik/Makefile
Modified: head/www/netrik/Makefile
==============================================================================
--- head/www/netrik/Makefile Mon Dec 23 08:37:13 2019 (r520686)
+++ head/www/netrik/Makefile Mon Dec 23 08:38:20 2019 (r520687)
@@ -22,8 +22,11 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} "s|^CFLAGS =|CFLAGS?=|" ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} "s|ncursesw|${NCURSES_IMPL}|g" ${WRKSRC}/configure
@${REINPLACE_CMD} "s/#include <ncursesw\//#include </" \
${WRKSRC}/*.c
More information about the svn-ports-all
mailing list