Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2022 15:52:24 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a1da7dade1dc - main - devel/schilybase: avoid building profiled libs with -PROFILE
Message-ID:  <202207081552.268FqO1f013489@gitrepo.freebsd.org>

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



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