git: a1da7dade1dc - main - devel/schilybase: avoid building profiled libs with -PROFILE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Jul 2022 15:52:24 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1da7dade1dca186fbbbed3723dc7b8b0ad43e69 commit a1da7dade1dca186fbbbed3723dc7b8b0ad43e69 Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2022-07-08 14:54:06 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-07-08 14:54:06 +0000 devel/schilybase: avoid building profiled libs with -PROFILE This patch was meant to be included into 8ce2900. It implements not building profiled libraries in case of -PROFILE. PR: 265040 Fixes: 8ce2900d5aaffab13b961003114a97a48d00e59d Reported by: fuz@fuz.su (maintainer) --- devel/schilybase/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/devel/schilybase/Makefile b/devel/schilybase/Makefile index 6ab2313766df..13ffe3a1be59 100644 --- a/devel/schilybase/Makefile +++ b/devel/schilybase/Makefile @@ -40,6 +40,10 @@ COMPONENTS= conf \ man \ man/man4 +post-patch-PROFILE-off: + @${ECHO_MSG} '=> Patching Makefiles to disable profiled libraries' + @${REINPLACE_CMD} -e '/^MK_FILES/s, [a-z]*_p.mk,,' ${WRKSRC}/*/Makefile + post-build-NLS-on: ${SETENV} LC_ALL=de_DE.ISO8859-1 msgfmt -o ${WRKDIR}/SCHILY_utils.mo ${WRKSRC}/SCHILY_utils.po @@ -58,7 +62,4 @@ post-install-NLS-on: ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/SCHILY_utils.mo .endfor -post-install-PROFILE-off: - ${RM} -r ${STAGEDIR}${PREFIX}/lib/profiled - .include "Makefile.master"