Skip to content

Commit

Permalink
net/samba413: Work around 12.4 bug with orphaned temp files
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jehops committed Oct 1, 2023
1 parent 79977ef commit 93a8338
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions net/samba413/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 93a8338

Please sign in to comment.