diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile index 31f487e0980a07b12d21eb3584f8fb46e04c572c..463448b1d6b3a19cf6717bf8f48ea90bc4d00023 100644 --- a/devel/ncurses/Makefile +++ b/devel/ncurses/Makefile @@ -95,7 +95,9 @@ post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/libncurses.so ${ECHO} "INPUT(libncurses.so.${PORTVERSION:R} AS_NEEDED(-ltinfo))" > ${STAGEDIR}${PREFIX}/lib/libncurses.so +.if ! ${PORT_OPTIONS:MDEBUG} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.${DISTVERSION} +.endif # backwards compatibility, remove 2021-07-02 ${RLN} ${STAGEDIR}${PREFIX}/lib/libncurses.so ${STAGEDIR}${PREFIX}/lib/libncursesw.so