From d334e7e48f919d08ddd72060cf482321a00d1d10 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 25 May 2016 14:06:09 +0200 Subject: [PATCH] dnsmap: use LDFLAGS, clean up. --- srcpkgs/dnsmap/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/dnsmap/template b/srcpkgs/dnsmap/template index 3be40675a7d..779e40dda72 100644 --- a/srcpkgs/dnsmap/template +++ b/srcpkgs/dnsmap/template @@ -1,8 +1,9 @@ # Template file for 'dnsmap' pkgname=dnsmap version=0.30 -revision=2 +revision=3 build_style=gnu-makefile +make_install_args="BINDIR=/usr/bin" short_desc="Passive DNS network mapper a.k.a. subdomain bruteforcer" maintainer="Philipp Hirsch " license="GPL-2" @@ -10,6 +11,6 @@ homepage="https://dnsmap.googlecode.com" distfiles="https://dnsmap.googlecode.com/files/${pkgname}-${version}.tar.gz" checksum=fcf03a7b269b51121920ac49f7d450241306cfff23c76f3da94b03792f6becbc -do_install() { - vbin dnsmap +post_extract() { + sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile }