diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 94fd927..ab0db24 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -14,12 +14,13 @@ depends=('libpcap>=1.0.0' 'pcre') source=("https://github.com/jpr5/ngrep/archive/V${_pkgver}.tar.gz") md5sums=('03cb1229ad586495852ea316262e8f38') +prepare() { + sed -i 's/test use_pcre = yes/test $use_pcre = yes/' ${pkgname}-${_pkgver}/configure +} + build() { cd "${srcdir}/${pkgname}-${_pkgver}" - export EXTRA_INCLUDES=$(pcre-config --cflags) - export EXTRA_LIBS=$(pcre-config --libs) - ./configure --prefix=/usr \ --with-pcap-includes=/usr/include/pcap\ --enable-ipv6 \