git: b907ec45061d - main - archivers/c-blosc2: Remove bundled libraries

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 16:37:01 UTC
The branch main has been updated by sunpoet:

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

commit b907ec45061d14e058fbf56addf3174d753fc23e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:32:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:32:41 +0000

    archivers/c-blosc2: Remove bundled libraries
---
 archivers/c-blosc2/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/archivers/c-blosc2/Makefile b/archivers/c-blosc2/Makefile
index c83d0b4407df..3701c34e3ef9 100644
--- a/archivers/c-blosc2/Makefile
+++ b/archivers/c-blosc2/Makefile
@@ -32,6 +32,10 @@ USES+=		compiler:gcc-c++11-lib
 USE_CSTD=	c11
 .endif
 
+post-patch:
+# Clean up bundled libraries
+	@${RM} -r ${WRKSRC}/internal-complibs/
+
 do-test:
 	cd ${TEST_WRKSRC} && ctest