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
This commit is contained in:
Yuri Victorovich 2024-05-05 12:10:24 -07:00
parent b107d06a6a
commit 703aba48b7

View file

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