aboutsummaryrefslogtreecommitdiffstats
path: root/main/snort
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-18 16:54:07 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-18 16:54:07 +0000
commitbef68067a488364c5b996c879637bea613b4079f (patch)
tree97497e7499619be1acb513f2aee60b4c157e2933 /main/snort
parentdd939972d4307a779bca305f8d4d047eb97ef709 (diff)
downloadaports-bef68067a488364c5b996c879637bea613b4079f.tar.bz2
aports-bef68067a488364c5b996c879637bea613b4079f.tar.xz
main/snort: link against libtirpc (fixes musl build)
Diffstat (limited to 'main/snort')
-rw-r--r--main/snort/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/snort/APKBUILD b/main/snort/APKBUILD
index 37dc20244a..6517c1ecc0 100644
--- a/main/snort/APKBUILD
+++ b/main/snort/APKBUILD
@@ -3,14 +3,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=snort
pkgver=2.9.5.6
-pkgrel=0
+pkgrel=1
pkgdesc="An open source network intrusion prevention and detection system"
url="http://www.snort.org/"
arch="all"
license="GPL"
depends=
makedepends="pcre-dev libpcap-dev libnet-dev libdnet-dev daq-dev
- autoconf automake libtool bison flex zlib-dev"
+ autoconf automake libtool bison flex zlib-dev libtirpc-dev"
install="$pkgname.pre-install"
subpackages="$pkgname-doc $pkgname-dev"
source="http://www.snort.org/dl/snort-current/snort-$pkgver.tar.gz
@@ -45,6 +45,8 @@ prepare() {
build() {
cd "$_builddir"
+ export CFLAGS="$CFLAGS `pkgconf --cflags libtirpc`"
+ export LDFLAGS="$LDFLAGS `pkgconf --libs libtirpc`"
./configure \
--build=$CBUILD \
--host=$CHOST \