From b92b2d24c81530bdace5a38ef709ec2d70e35852 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Sun, 19 Jun 2016 11:35:55 -0400 Subject: [PATCH] arpwatch: obey our LDFLAGS --- srcpkgs/arpwatch/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/arpwatch/template b/srcpkgs/arpwatch/template index 38a3e9208fe..376917ce3f9 100644 --- a/srcpkgs/arpwatch/template +++ b/srcpkgs/arpwatch/template @@ -1,7 +1,7 @@ # Template file for 'arpwatch' pkgname=arpwatch version=2.1a15 -revision=1 +revision=2 build_style=gnu-configure makedepends="libpcap-devel" short_desc="Ethernet/FDDI station activity monitor" @@ -14,6 +14,8 @@ checksum=c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898 make_install_target="install install-man" pre_configure() { + # PIE support + export CFLAGS="$CFLAGS $LDFLAGS" # move arp database in /var/lib/arpwatch # /var is used because arpwatch write its learned mac into this folder sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in