aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbsd/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2013-11-12 10:46:57 +0100
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2013-11-12 10:46:57 +0100
commit4bb32b8f4e01f87efa2fd6ce74a9d0dcfd9ff562 (patch)
treef892d222f7be2039260c1edd17fb7850bd5452b2 /main/libbsd/APKBUILD
parent7eb1c7b24a106607411f98389524aa44442c6cc7 (diff)
downloadaports-4bb32b8f4e01f87efa2fd6ce74a9d0dcfd9ff562.tar.bz2
aports-4bb32b8f4e01f87efa2fd6ce74a9d0dcfd9ff562.tar.xz
main/libbsd: fix build
Diffstat (limited to 'main/libbsd/APKBUILD')
-rw-r--r--main/libbsd/APKBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/main/libbsd/APKBUILD b/main/libbsd/APKBUILD
index 831992ea96..d6555d451c 100644
--- a/main/libbsd/APKBUILD
+++ b/main/libbsd/APKBUILD
@@ -9,21 +9,18 @@ arch="all"
license="BSD"
depends=""
depends_dev=""
-makedepends="$depends_dev"
+makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://libbsd.freedesktop.org/releases/libbsd-$pkgver.tar.xz"
+source="http://libbsd.freedesktop.org/releases/libbsd-$pkgver.tar.xz
+ Revert_Force_setproctitle_into_.init_array_section.patch"
_builddir="$srcdir"/libbsd-$pkgver
prepare() {
- local i
cd "$_builddir"
- update_config_sub || return 0
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ patch -p1 -i "$srcdir"/Revert_Force_setproctitle_into_.init_array_section.patch \
+ || return 1
+ autoreconf -fi || return 1
}
build() {
@@ -46,6 +43,9 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
-md5sums="f6c75f0a9818e323a589bcbd560a0eb4 libbsd-0.6.0.tar.xz"
-sha256sums="9e8f34ffa9c8579c87965a55a82d8ac37a1dc64858f717b7c49452ade277cc62 libbsd-0.6.0.tar.xz"
-sha512sums="d750ead28e76938ab8d9c5575c1c87bcf275754f9f82b19d647f522bfaf07e5a85dc47ed5faae093994e5456be806fdebb55eeeed74efff3c950dfb6142e2b5c libbsd-0.6.0.tar.xz"
+md5sums="f6c75f0a9818e323a589bcbd560a0eb4 libbsd-0.6.0.tar.xz
+628a86066f8a1222c7ffee5aa3d488ef Revert_Force_setproctitle_into_.init_array_section.patch"
+sha256sums="9e8f34ffa9c8579c87965a55a82d8ac37a1dc64858f717b7c49452ade277cc62 libbsd-0.6.0.tar.xz
+a4497defcc14d04e407130931ed89c6b9e5e79c684884291cc080c6e90c82777 Revert_Force_setproctitle_into_.init_array_section.patch"
+sha512sums="d750ead28e76938ab8d9c5575c1c87bcf275754f9f82b19d647f522bfaf07e5a85dc47ed5faae093994e5456be806fdebb55eeeed74efff3c950dfb6142e2b5c libbsd-0.6.0.tar.xz
+52d3e69a2589dc299bcc5ca99bcf595d054be4c8b6b2ce4101d7657a54fecc4bc843b4439f0c9b582266559288220b342f926e700e7ae7e91bf29f0ae30d707f Revert_Force_setproctitle_into_.init_array_section.patch"