cad/surelog: Fix build by removing package directrory

This is a workaround for the yet unsolved problem that surelog
silently fails to create package files.

Reported by:	fallout
main
Yuri Victorovich 2024-05-05 12:10:24 -07:00
parent b107d06a6a
commit 703aba48b7
1 changed files with 5 additions and 4 deletions

View File

@ -63,10 +63,11 @@ TCMALLOC_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools
PORTSCOUT= limit:^.*[0-9]\.[0-9] # prevent tags like 'show'
post-install: # workaround for https://github.com/chipsalliance/Surelog/issues/3596
@${RMDIR} \
${STAGEDIR}${DATADIR}/pkg/work \
${STAGEDIR}${DATADIR}/pkg \
post-install:
# workaround for https://github.com/chipsalliance/Surelog/issues/3965
# - surelog fails to create package files on some systems, and succeeds on others
# - so we remove this directory altogether for now
@${RM} -r \
${STAGEDIR}${DATADIR}
post-test: