Commit cf6d741a authored by Natanael Copa's avatar Natanael Copa

main/afpfs-ng: remove unused libiconv and fix build with linux-headers

parent af9fa6a1
......@@ -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 \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment