FreeBSD Bugzilla – Attachment 250459 Details for
Bug 278785
audio/libmysofa: Don't extract test directory unless requested
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for libmysofa
libmysofa-fixup.patch (text/plain), 1.72 KB, created by
Daniel Engberg
on 2024-05-05 14:23:39 UTC
(
hide
)
Description:
Patch for libmysofa
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2024-05-05 14:23:39 UTC
Size:
1.72 KB
patch
obsolete
>diff --git a/audio/libmysofa/Makefile b/audio/libmysofa/Makefile >index 0ca80667c266..3c08ae79d946 100644 >--- a/audio/libmysofa/Makefile >+++ b/audio/libmysofa/Makefile >@@ -17,6 +17,10 @@ USE_LDCONFIG= yes > > CPE_VENDOR= symonics > >+EXTRACT_AFTER_ARGS= --exclude ${PORTNAME}-${DISTVERSION}/tests \ >+ --exclude ${PORTNAME}-${DISTVERSION}/windows \ >+ --no-same-owner --no-same-permissions >+ > USE_GITHUB= yes > GH_ACCOUNT= hoene > >@@ -27,6 +31,8 @@ OPTIONS_SUB= yes > STATIC_CMAKE_BOOL= BUILD_STATIC_LIBS > > TEST_BUILD_DEPENDS= cunit>0:devel/cunit >+TEST_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-tests_compare.sh \ >+ ${PATCHDIR}/extrapatch-tests_compareIgnoreNew.sh > TEST_CMAKE_BOOL= BUILD_TESTS > TEST_TEST_TARGET= test > >@@ -34,7 +40,10 @@ TEST_TEST_TARGET= test > # directory and the build results are expected to be in build/ relative > # to ${WRKSRC}. USES=cmake does not allow overwriting ${WRKDIR}/.build > # as the build directory. >-post-patch: >+post-extract-TEST-on: >+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ >+ -C ${WRKDIR} --include ${PORTNAME}-${DISTVERSION}/tests \ >+ --no-same-owner --no-same-permissions > @${RLN} ${WRKSRC}/build ${CONFIGURE_WRKSRC} > > .include <bsd.port.mk> >diff --git a/audio/libmysofa/files/patch-tests_compare.sh b/audio/libmysofa/files/extrapatch-tests_compare.sh >similarity index 100% >rename from audio/libmysofa/files/patch-tests_compare.sh >rename to audio/libmysofa/files/extrapatch-tests_compare.sh >diff --git a/audio/libmysofa/files/patch-tests_compareIgnoreNew.sh b/audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh >similarity index 100% >rename from audio/libmysofa/files/patch-tests_compareIgnoreNew.sh >rename to audio/libmysofa/files/extrapatch-tests_compareIgnoreNew.sh
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278785
: 250459