aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnet
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-06-27 10:32:06 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-06-27 10:32:10 +0000
commitcd81e7c06c1c1196c2b87bdf52a64b2eb39e1bed (patch)
tree516d51ca78bff80afa87896e99d35de06b476352 /main/libnet
parent66f4f7384b83a70b560d09a612a5401a47505f11 (diff)
downloadaports-cd81e7c06c1c1196c2b87bdf52a64b2eb39e1bed.tar.gz
aports-cd81e7c06c1c1196c2b87bdf52a64b2eb39e1bed.tar.bz2
aports-cd81e7c06c1c1196c2b87bdf52a64b2eb39e1bed.tar.xz
main/libnet: fixed correct detection of link-layer method
Diffstat (limited to 'main/libnet')
-rw-r--r--main/libnet/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/libnet/APKBUILD b/main/libnet/APKBUILD
index 31d3468a55..b56651d89f 100644
--- a/main/libnet/APKBUILD
+++ b/main/libnet/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnet
pkgver=1.1.6
-pkgrel=1
+pkgrel=2
pkgdesc="A generic networking API that provides access to several protocols."
url="http://sourceforge.net/projects/libnet-dev/"
arch="all"
license="BSD"
depends=
-makedepends="autoconf automake libtool"
+makedepends="autoconf automake libtool linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/project/libnet-dev/libnet-$pkgver.tar.gz
fix-includes.patch
@@ -33,6 +33,7 @@ build() {
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --with-link-layer=linux \
|| return 1
make || return 1
}