git: 7ca4bf132765 - main - devel/ncurses: Do not strip libraries when DEBUG option is set
- Reply: Alexey Dokuchaev : "Re: git: 7ca4bf132765 - main - devel/ncurses: Do not strip libraries when DEBUG option is set"
- Reply: Baptiste Daroussin : "Re: git: 7ca4bf132765 - main - devel/ncurses: Do not strip libraries when DEBUG option is set"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Jun 2022 10:21:53 UTC
The branch main has been updated by martymac: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ca4bf13276577544841a58c208e9b3fd7230b9a commit 7ca4bf13276577544841a58c208e9b3fd7230b9a Author: Ganael LAPLANCHE <martymac@FreeBSD.org> AuthorDate: 2022-06-02 10:20:03 +0000 Commit: Ganael LAPLANCHE <martymac@FreeBSD.org> CommitDate: 2022-06-02 10:20:03 +0000 devel/ncurses: Do not strip libraries when DEBUG option is set Approved by: blanket (simple fix) --- devel/ncurses/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile index 31f487e0980a..463448b1d6b3 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