From 703aba48b720e02a38ae9f17bc1d00e5d79c5eff Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 5 May 2024 12:10:24 -0700 Subject: [PATCH] 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 --- cad/surelog/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cad/surelog/Makefile b/cad/surelog/Makefile index dcd033c4ec87..8b7e874d1c73 100644 --- a/cad/surelog/Makefile +++ b/cad/surelog/Makefile @@ -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: