aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2023-10-01 16:16:22 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2023-10-01 19:46:38 +0000
commit93a83389164030ca740440499ac8486d7fb78261 (patch)
tree12e8047fe69a99f3039e0a7b9a67b6abff828b7a
parent79977efe221da0e1377b86e1add09f66358e97bc (diff)
downloadports-93a83389164030ca740440499ac8486d7fb78261.tar.gz
ports-93a83389164030ca740440499ac8486d7fb78261.zip
net/samba413: Work around 12.4 bug with orphaned temp files
Because src commit 96e101bec9 never made it into 12.4, temporary files are littering the staging directory and causing plist errors. Since 12.4 will be EOL soon, just work around the issue. PR: 255626 Approved by: portmgr (rene) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42030
-rw-r--r--net/samba413/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/samba413/Makefile b/net/samba413/Makefile
index d45ca530f122..472f19ea389c 100644
--- a/net/samba413/Makefile
+++ b/net/samba413/Makefile
@@ -679,6 +679,9 @@ post-install: post-install-rm-junk post-install-fix-manpages
-${FIND} ${STAGEDIR}${PREFIX}/lib -name '*.so*' \
-type f -print0 | ${XARGS} -0 -n 1 -t ${STRIP_CMD}
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000 # Work around bug 255626. Remove after 12.4 is EOL.
+ ${RM} ${STAGEDIR}${LOCALBASE}/bin/ecp.* ${STAGEDIR}${LOCALBASE}/sbin/ecp.*
+.endif
post-install-FRUIT-off:
${RM} ${STAGEDIR}${SAMBA4_MODULEDIR}/vfs/fruit.so