aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-02-17 12:30:29 +0800
committerpi <pi@FreeBSD.org>2016-02-17 12:30:29 +0800
commit64dc00ed0542aedf759078f152919224a82d0e20 (patch)
tree3d5fb696a0d5e5bfa4fa4661106ea90165fa9170 /dns
parent56ee6a514383ce45c4b95a2d2d543a7a24f26a8e (diff)
downloadfreebsd-ports-gnome-64dc00ed0542aedf759078f152919224a82d0e20.tar.gz
freebsd-ports-gnome-64dc00ed0542aedf759078f152919224a82d0e20.tar.zst
freebsd-ports-gnome-64dc00ed0542aedf759078f152919224a82d0e20.zip
dns/dnstracer: fix build on 10.2amd64
PR: 202824 Submitted by: w.schwarzenfeld@aon.at, lukasz@wasikowski.net, vikashb@where-ever.za.net Approved by: edwin (maintainer timeout)
Diffstat (limited to 'dns')
-rw-r--r--dns/dnstracer/Makefile9
-rw-r--r--dns/dnstracer/files/patch-configure.in15
2 files changed, 22 insertions, 2 deletions
diff --git a/dns/dnstracer/Makefile b/dns/dnstracer/Makefile
index 22afdec12f42..78f237b3bd6c 100644
--- a/dns/dnstracer/Makefile
+++ b/dns/dnstracer/Makefile
@@ -3,15 +3,16 @@
PORTNAME= dnstracer
PORTVERSION= 1.9
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.mavetju.org/download/
MAINTAINER= edwin@mavetju.org
COMMENT= Trace a chain of DNS servers to the source
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
USES= gmake
+USES= gmake autoreconf
+GNU_CONFIGURE= yes
PLIST_FILES= bin/dnstracer \
man/man8/dnstracer.8.gz
@@ -22,4 +23,8 @@ IPV6_CONFIGURE_ENABLE= --disable-ipv6
BROKEN_sparc64= fails to build
+post-install:
+ ${MKDIR} ${STAGEDIR}/${PREFIX}/
+ ${INSTALL_MAN} ${WRKSRC}/dnstracer.8 ${STAGEDIR}${PREFIX}/man/man8/dnstracer.8
+
.include <bsd.port.mk>
diff --git a/dns/dnstracer/files/patch-configure.in b/dns/dnstracer/files/patch-configure.in
new file mode 100644
index 000000000000..d293eefae826
--- /dev/null
+++ b/dns/dnstracer/files/patch-configure.in
@@ -0,0 +1,15 @@
+--- configure.in.orig 2016-01-20 08:50:27 UTC
++++ configure.in
+@@ -6,9 +6,10 @@ dnl rm -rf Makefile autom4te.cache autos
+ dnl rm -rf config.log config.status configure.scan stamp-*
+ dnl
+
+-AC_INIT(dnstracer.c)
++AC_INIT([dnstracer],[1.7])
+ AM_CONFIG_HEADER(config.h)
+-AM_INIT_AUTOMAKE(dnstracer,1.7)
++AC_CONFIG_SRCDIR ([dnstracer.c])
++AM_INIT_AUTOMAKE
+
+ AC_PROG_CC
+ AC_PROG_INSTALL