aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-09 06:55:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-09 07:12:52 +0000
commitcf6d741a89ceb64d7568a2629c5c7af7650b4b55 (patch)
treeb1d4267bc6331543920afa69676e4bb1bb13285f
parentaf9fa6a1656fd58379e3c89d63b85edd5fe4ef70 (diff)
downloadaports-cf6d741a89ceb64d7568a2629c5c7af7650b4b55.tar.bz2
aports-cf6d741a89ceb64d7568a2629c5c7af7650b4b55.tar.xz
main/afpfs-ng: remove unused libiconv and fix build with linux-headers
-rw-r--r--main/afpfs-ng/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/main/afpfs-ng/APKBUILD b/main/afpfs-ng/APKBUILD
index b07daaa265..e4ee5f7109 100644
--- a/main/afpfs-ng/APKBUILD
+++ b/main/afpfs-ng/APKBUILD
@@ -8,8 +8,8 @@ url="http://alexthepuffin.googlepages.com/"
arch="all"
license="GPL2"
depends=""
-depends_dev="libgcrypt-dev libiconv-dev libedit-dev ncurses-dev"
-makedepends="$depends_dev autoconf automake libtool"
+depends_dev="libgcrypt-dev libedit-dev ncurses-dev"
+makedepends="$depends_dev autoconf automake libtool linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/afpfs-ng/afpfs-ng-$pkgver.tar.bz2
@@ -36,14 +36,11 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ autoreconf -vif || return 1
}
build() {
cd "$_builddir"
- autoreconf -vif || return 1
- if [ "$ALPINE_LIBC" != "eglibc" ]; then
- export LDFLAGS="$LDFLAGS -liconv"
- fi
./configure \
--build=$CBUILD \
--host=$CHOST \