Skip to content

Commit c16ba33

Browse files
committedNov 14, 2024·
curl: allow building for multiple architectures again
With the `.netrc` fix, two files are created by a patch. When reusing the same `srcdir` for multiple architectures, this would cause problems. So let's delete the files in question if the `.netrc` fix is done via a separate `.patch` file. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 0370166 commit c16ba33

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎mingw-w64-curl/PKGBUILD

+4
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ prepare() {
9090
cmp "${startdir}/../mingw-w64-pathtools/pathtools.h" "${srcdir}/pathtools.h"
9191
} || exit 1
9292

93+
test ! -f "${srcdir}/netrc-regression-1.patch" ||
94+
rm -f ${_realname}-${pkgver}/tests/data/test2309 \
95+
${_realname}-${pkgver}/tests/libtest/lib2309.c
96+
9397
cd "${srcdir}/${_realname}-${pkgver}"
9498
cp -fHv "${srcdir}"/pathtools.[ch] lib/
9599

0 commit comments

Comments
 (0)
Please sign in to comment.