summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/stfl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/stfl/Makefile b/devel/stfl/Makefile
index cc87efc24295..e534ba94cdf1 100644
--- a/devel/stfl/Makefile
+++ b/devel/stfl/Makefile
@@ -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