1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

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

(cherry picked from commit 703aba48b7)
This commit is contained in:
Yuri Victorovich 2024-05-05 12:10:24 -07:00
parent 7d8f014e7f
commit 10b1657aef

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: