On 2023/06/04 17:48, Brian Callahan wrote:
> Hi ports --
> 
> Attached is an update to devel/dwz. The main benefit for us is a modest
> speedup.
> 
> The full announcement with changes is here:
> https://sourceware.org/pipermail/dwz/2022q4/001385.html
> 
> Seems OK on my end on amd64. But since dwz is integral for debug
> packages, looking for more eyeballs.
> 
> OK?

I think this came up before as I have a diff like this but with a
slight change in my tree; rather than fetching the xxhash distfile
I used a :patch target from the port instead:

 # XXX bootstrap: DEBUG_PACKAGES needs a dwz binary to work
+# use :patch target to avoid having to package xxhash
 
 DWZ = ${WRKBUILD}/dwz
+
+BUILD_DEPENDS =        sysutils/xxhash:patch
+post-extract:
+       cp ${WRKDIR}/sysutils/xxhash/*/xxhash.h ${WRKSRC}/

I don't especially mind which way this is done, though I do slightly
prefer the method using :patch.

Reply via email to