netsniff-ng: rebuild for libsodium-1.0.19_1
This commit is contained in:
parent
aa9166f1e9
commit
10560af0d0
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'netsniff-ng'
|
# Template file for 'netsniff-ng'
|
||||||
pkgname=netsniff-ng
|
pkgname=netsniff-ng
|
||||||
version=0.6.8
|
version=0.6.8
|
||||||
revision=2
|
revision=3
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --disable-geoip"
|
configure_args="--prefix=/usr --disable-geoip"
|
||||||
hostmakedepends="pkg-config flex bison which"
|
hostmakedepends="pkg-config flex bison which"
|
||||||
@ -17,7 +17,8 @@ checksum=ca22e98208003eb7f75b2d177378848f7178dab83f5c320a0fffb409bdfbb160
|
|||||||
CFLAGS="-fcommon"
|
CFLAGS="-fcommon"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
vsed -i "s|/sbin|/bin|g" Makefile
|
vsed -i -e 's|/sbin|/bin|g' -e '/--jobs=/d' Makefile
|
||||||
|
vsed -i 's/ncurses/ncursesw/g' flowtop/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
@ -26,10 +27,6 @@ pre_configure() {
|
|||||||
export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
|
export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
|
||||||
make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user