arpwatch: obey our LDFLAGS
This commit is contained in:
parent
c524183981
commit
b92b2d24c8
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'arpwatch'
|
# Template file for 'arpwatch'
|
||||||
pkgname=arpwatch
|
pkgname=arpwatch
|
||||||
version=2.1a15
|
version=2.1a15
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="libpcap-devel"
|
makedepends="libpcap-devel"
|
||||||
short_desc="Ethernet/FDDI station activity monitor"
|
short_desc="Ethernet/FDDI station activity monitor"
|
||||||
@ -14,6 +14,8 @@ checksum=c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898
|
|||||||
make_install_target="install install-man"
|
make_install_target="install install-man"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
# PIE support
|
||||||
|
export CFLAGS="$CFLAGS $LDFLAGS"
|
||||||
# move arp database in /var/lib/arpwatch
|
# move arp database in /var/lib/arpwatch
|
||||||
# /var is used because arpwatch write its learned mac into this folder
|
# /var is used because arpwatch write its learned mac into this folder
|
||||||
sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
|
sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user