Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2024 19:12:06 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 10b1657aefd9 - 2024Q2 - cad/surelog: Fix build by removing package directrory
Message-ID:  <202405051912.445JC6Ff084231@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q2 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=10b1657aefd90b02c536d8230426a5afa682f2db

commit 10b1657aefd90b02c536d8230426a5afa682f2db
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-05 19:10:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-05 19:11:59 +0000

    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 703aba48b720e02a38ae9f17bc1d00e5d79c5eff)
---
 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405051912.445JC6Ff084231>