diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-05-22 22:00:42 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-05-22 22:00:42 -0500 |
commit | 6634ad60df3ccfadce5c8fa4ecdda7ac8ec1c012 (patch) | |
tree | 0cdf25f21a8e19d2d5880515acd54ab6f21f5b42 /system/abuild/0002-newapkbuild-move-checksum-call-to-after-fetch.patch | |
parent | 3d40bdfba5dc21e3f0f3ee710d5c9c73e500620c (diff) | |
download | packages-6634ad60df3ccfadce5c8fa4ecdda7ac8ec1c012.tar.gz packages-6634ad60df3ccfadce5c8fa4ecdda7ac8ec1c012.tar.bz2 packages-6634ad60df3ccfadce5c8fa4ecdda7ac8ec1c012.tar.xz packages-6634ad60df3ccfadce5c8fa4ecdda7ac8ec1c012.zip |
system/abuild: add patches to make newapkbuild work at all
Diffstat (limited to 'system/abuild/0002-newapkbuild-move-checksum-call-to-after-fetch.patch')
-rw-r--r-- | system/abuild/0002-newapkbuild-move-checksum-call-to-after-fetch.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/system/abuild/0002-newapkbuild-move-checksum-call-to-after-fetch.patch b/system/abuild/0002-newapkbuild-move-checksum-call-to-after-fetch.patch new file mode 100644 index 000000000..338aff758 --- /dev/null +++ b/system/abuild/0002-newapkbuild-move-checksum-call-to-after-fetch.patch @@ -0,0 +1,40 @@ +From d3040cca076e187259e4aa4b1d613752d7254fcd Mon Sep 17 00:00:00 2001 +From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> +Date: Tue, 22 May 2018 21:50:55 -0500 +Subject: [PATCH 2/2] newapkbuild: move checksum call to after fetch + +unpack will no longer unpack without a checksum, even with -f. This +means that newapkbuild will not be able to deduce what kind of build +system is contained within, so the templates for CMake, Perl, etc are +never used. + +This patch ensures checksumming is done right after fetch, so that +unpack works properly. +--- + newapkbuild.in | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/newapkbuild.in b/newapkbuild.in +index 1a005c3..77d1a8b 100644 +--- a/newapkbuild.in ++++ b/newapkbuild.in +@@ -228,7 +228,7 @@ subpackages="\$pkgname-dev \$pkgname-doc" + source="$source" + __EOF__ + +- abuild -f fetch unpack ++ abuild -f fetch checksum unpack + # Figure out the builddir + for i in src/*; do + if [ -d "$i" ]; then +@@ -339,7 +339,6 @@ __EOF__ + } + + __EOF__ +- abuild -f checksum + } + + usage() { +-- +2.15.0 + |