From 2f9f7c1384a19d0845abbb6e8a5312a86fc2e071 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Wed, 17 Feb 2016 04:30:29 +0000 Subject: [PATCH] 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) --- dns/dnstracer/Makefile | 9 +++++++-- dns/dnstracer/files/patch-configure.in | 15 +++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 dns/dnstracer/files/patch-configure.in 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 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