mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
netsniff-ng: rebuild for libsodium-1.0.19_1
This commit is contained in:
parent
aa9166f1e9
commit
10560af0d0
1 changed files with 3 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'netsniff-ng'
|
||||
pkgname=netsniff-ng
|
||||
version=0.6.8
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --disable-geoip"
|
||||
hostmakedepends="pkg-config flex bison which"
|
||||
|
@ -17,7 +17,8 @@ checksum=ca22e98208003eb7f75b2d177378848f7178dab83f5c320a0fffb409bdfbb160
|
|||
CFLAGS="-fcommon"
|
||||
|
||||
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() {
|
||||
|
@ -26,10 +27,6 @@ pre_configure() {
|
|||
export NACL_LIB_DIR=${XBPS_CROSS_BASE}/usr/lib
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
vmkdir usr/bin
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue