aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-file-rsync/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-11 17:24:00 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-11 17:24:00 +0000
commit62352a3ebba58df9926d8c9aeef11dacf37eb8d6 (patch)
treef1acc0e11ded5b7f2d9a37aef417bf886fa47290 /main/perl-file-rsync/APKBUILD
parent04c91ed83eb473e9348e379825d778fe75c6a02c (diff)
downloadaports-62352a3ebba58df9926d8c9aeef11dacf37eb8d6.tar.bz2
aports-62352a3ebba58df9926d8c9aeef11dacf37eb8d6.tar.xz
main/perl-file-rsync: build fix for aarch64
Diffstat (limited to 'main/perl-file-rsync/APKBUILD')
-rw-r--r--main/perl-file-rsync/APKBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/main/perl-file-rsync/APKBUILD b/main/perl-file-rsync/APKBUILD
index 8fd7b24166..2e81cb62ce 100644
--- a/main/perl-file-rsync/APKBUILD
+++ b/main/perl-file-rsync/APKBUILD
@@ -13,27 +13,34 @@ makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/$_realname-$pkgver.tar.gz
-perl-file-rsync-parallell-build-fix.patch"
+ perl-file-rsync-parallell-build-fix.patch
+ config.sub config.guess"
-_builddir="$srcdir/$_realname-$pkgver"
-
-prepare() {
- cd $_builddir
- patch -p1 <../perl-file-rsync-parallell-build-fix.patch || return 1
-}
+builddir="$srcdir/$_realname-$pkgver"
build() {
- cd $_builddir
+ cd $builddir
+ cp $srcdir/config.sub $srcdir/config.guess FileList/ || return 1
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make config && make || return 1
}
package() {
- cd $_builddir
+ cd $builddir
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="f244372d15a2991b8700f62e73ac51e4 File-RsyncP-0.70.tar.gz
-402df47ad01369de0ffc75754529d6e4 perl-file-rsync-parallell-build-fix.patch"
+402df47ad01369de0ffc75754529d6e4 perl-file-rsync-parallell-build-fix.patch
+ab5cdf7080934d24cf4ca0739db766a1 config.sub
+52f80eee57d1a5dc581fbb1f1c6a7bad config.guess"
+sha256sums="d4f6127650393a65ed7d66d14b3a126827c99e8422c3cf205481a9f7ebce9994 File-RsyncP-0.70.tar.gz
+e94d6348d9a625f59ae3fd1e0de4dea5acae7e20a91ebb818633a37c2a95ac23 perl-file-rsync-parallell-build-fix.patch
+98cc817af4b814522e5d776cd005996efae1198b86f50a8518e6b4fac9f24bb3 config.sub
+3c32dbef4195927bffd562b699095ad3271d9b06f1a3ff08eb313100b579a5fe config.guess"
+sha512sums="fdc04e2e9280be26578ff6bb7ca80f43408dd6709297ab138ca708f79282e6b9bc3433c35f0841c5dab42302403262c67b177cc4889b85a3c5417a295c047dc0 File-RsyncP-0.70.tar.gz
+1b7ddad9d13bcad01760048670545d893c6eb9c0ed3bbb33b80f9c1520aea682c98233efeafa2f6de12e4b86de5895c648a67dfb2402d9877b428df3b06da972 perl-file-rsync-parallell-build-fix.patch
+fb999aada492f963fdf86184629a7351e5ff3adac6f4707a2d150ae18cea02478b4ebcb1d2d0bd11698ed74415d2a73bc07d8c0d96a5035bd567d2738fa73128 config.sub
+ec32c1c81a460033d1b419292f408974409d08cfc754af92ca5af303cc848fc5dc3a019028c6724346e96ab5d600519862fd9a2c3f01ae6cf7139ff377de4b80 config.guess"