summaryrefslogtreecommitdiffstats
path: root/main/abuild
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-01-03 23:17:51 +0200
committerTimo Teräs <timo.teras@iki.fi>2014-01-03 23:17:51 +0200
commit785cc0fa071851c402a584ce4d63110c88b385d8 (patch)
treefdaeb3df76b19612c80dfb90e395af8796962365 /main/abuild
parent73cbccee55adadf6260a3a71484d518984035b1f (diff)
downloadaports-785cc0fa071851c402a584ce4d63110c88b385d8.tar.bz2
aports-785cc0fa071851c402a584ce4d63110c88b385d8.tar.xz
main/abuild: use posix syntax for find
Diffstat (limited to 'main/abuild')
-rw-r--r--main/abuild/0001-abuild-use-posix-syntax-for-find.patch25
-rw-r--r--main/abuild/APKBUILD15
2 files changed, 35 insertions, 5 deletions
diff --git a/main/abuild/0001-abuild-use-posix-syntax-for-find.patch b/main/abuild/0001-abuild-use-posix-syntax-for-find.patch
new file mode 100644
index 000000000..b0fbe5631
--- /dev/null
+++ b/main/abuild/0001-abuild-use-posix-syntax-for-find.patch
@@ -0,0 +1,25 @@
+From eee827b16be8458ac50dabb9d96aecff513d0391 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
+Date: Fri, 3 Jan 2014 23:15:09 +0200
+Subject: [PATCH] abuild: use posix syntax for find
+
+---
+ abuild.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/abuild.in b/abuild.in
+index 9bb2297..fa3971a 100755
+--- a/abuild.in
++++ b/abuild.in
+@@ -1262,7 +1262,7 @@ default_dev() {
+ usr/share/qt*/mkspecs \
+ usr/lib/qt*/mkspecs \
+ usr/lib/cmake \
+- $(find -name include -type d) \
++ $(find . -name include -type d) \
+ $(find lib/ usr/ -name '*.[acho]' \
+ -o -name '*.prl' 2>/dev/null); do
+ if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then
+--
+1.8.5.2
+
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index b9a755b96..2cb9906bd 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -2,7 +2,7 @@
pkgname=abuild
pkgver=2.19.0
_ver=${pkgver%_git*}
-pkgrel=0
+pkgrel=1
pkgdesc="Script to build Alpine Packages"
url="http://git.alpinelinux.org/cgit/abuild/"
arch="all"
@@ -17,7 +17,9 @@ makedepends="$makedepends_host $makedepends_build"
install="$pkgname.pre-install $pkgname.pre-upgrade"
subpackages="apkbuild-cpan:cpan"
pkggroups="abuild"
-source="http://dev.alpinelinux.org/archive/abuild/abuild-$pkgver.tar.xz"
+source="http://dev.alpinelinux.org/archive/abuild/abuild-$pkgver.tar.xz
+ 0001-abuild-use-posix-syntax-for-find.patch
+ "
_builddir="$srcdir/$pkgname-$_ver"
prepare() {
@@ -53,6 +55,9 @@ cpan() {
mv "$pkgdir"/usr/bin/apkbuild-cpan "$subpkgdir"/usr/bin/
}
-md5sums="9f8bb4b065382317124e26c483c21282 abuild-2.19.0.tar.xz"
-sha256sums="659d5ca457e6a0a552115018dc903039d54731f6cf291a9b00e1a700a8e3ce83 abuild-2.19.0.tar.xz"
-sha512sums="f46c38efb1645759c0bd3908a03bc1d27e588801dd138ea6e18390bdcf617eb56f2b49301737558d2509fcdf9cbc2ac4cd5152888d1c41e300ca68f719194d64 abuild-2.19.0.tar.xz"
+md5sums="9f8bb4b065382317124e26c483c21282 abuild-2.19.0.tar.xz
+e75906e82d80cdf43f4ca76198b4c3b7 0001-abuild-use-posix-syntax-for-find.patch"
+sha256sums="659d5ca457e6a0a552115018dc903039d54731f6cf291a9b00e1a700a8e3ce83 abuild-2.19.0.tar.xz
+a0e6d0dfbbd1c6c08b35cab197ca8801b52a57fefef5353426ca5ba6a1dd034a 0001-abuild-use-posix-syntax-for-find.patch"
+sha512sums="f46c38efb1645759c0bd3908a03bc1d27e588801dd138ea6e18390bdcf617eb56f2b49301737558d2509fcdf9cbc2ac4cd5152888d1c41e300ca68f719194d64 abuild-2.19.0.tar.xz
+0c72f411e807e3c4aaabaa88c61bca09ef53d59d6ad0408fc7e6ba1f663f259256c13c90747656cbe3cb4660807242748252fbfc8c7619a0a6bfec0d14978039 0001-abuild-use-posix-syntax-for-find.patch"