Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2022 10:21:53 GMT
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7ca4bf132765 - main - devel/ncurses: Do not strip libraries when DEBUG option is set
Message-ID:  <202206021021.252ALr89052824@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206021021.252ALr89052824>