aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-07-08 14:54:06 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-07-08 14:54:06 +0000
commita1da7dade1dca186fbbbed3723dc7b8b0ad43e69 (patch)
tree708bd855efc3ef5abb0adc37f036050a0957df8f
parentb6dbfbcad02d129721037a005420e0bef8df2885 (diff)
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)
-rw-r--r--devel/schilybase/Makefile7
1 files 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"