svn commit: r521820 - head/devel/stfl

Baptiste Daroussin bapt at FreeBSD.org
Thu Jan 2 09:52:16 UTC 2020


Author: bapt
Date: Thu Jan  2 09:52:16 2020
New Revision: 521820
URL: https://svnweb.freebsd.org/changeset/ports/521820

Log:
  Respect ${NCURSES_IMPL}

Modified:
  head/devel/stfl/Makefile

Modified: head/devel/stfl/Makefile
==============================================================================
--- head/devel/stfl/Makefile	Thu Jan  2 09:48:54 2020	(r521819)
+++ head/devel/stfl/Makefile	Thu Jan  2 09:52:16 2020	(r521820)
@@ -22,7 +22,8 @@ MAKE_ENV=	LDLIBS="${LDFLAGS}"
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-Os||;/gcc/d;/-MM/s|-I.|$${CFLAGS}|; \
-		/pkgconfig/s|$$(libdir)|libdata|' \
+		/pkgconfig/s|$$(libdir)|libdata| ; \
+		s/-lncursesw/-l${NCURSES_IMPL}/g' \
 		${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e '/Libs.private/s|$$| ${ICONV_LIB}|' \
 		${WRKSRC}/stfl.pc.in


More information about the svn-ports-all mailing list