diff options
-rw-r--r-- | dns/dnsmasq/Makefile | 13 | ||||
-rw-r--r-- | dns/dnsmasq/distinfo | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile index 8d4b9a1b9217..a7db4241ae60 100644 --- a/dns/dnsmasq/Makefile +++ b/dns/dnsmasq/Makefile @@ -6,13 +6,24 @@ # PORTNAME= dnsmasq -PORTVERSION= 1.13 +PORTVERSION= 1.17 CATEGORIES= dns MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ MAINTAINER= shonson@isoproplex.net COMMENT= A caching DNS forwarder +USE_REINPLACE= yes + MAN8= dnsmasq.8 +post-patch: + @${REINPLACE_CMD} -e \ + 's|^CC = gcc|CC?=cc|g ; \ + s|^CFLAGS = -O2|CFLAGS+=-O2|g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8 + .include <bsd.port.mk> diff --git a/dns/dnsmasq/distinfo b/dns/dnsmasq/distinfo index 3cce05f3e76d..0af1e6ad4943 100644 --- a/dns/dnsmasq/distinfo +++ b/dns/dnsmasq/distinfo @@ -1 +1 @@ -MD5 (dnsmasq-1.13.tar.gz) = fd39b3b436f369056980c98ba88a664b +MD5 (dnsmasq-1.17.tar.gz) = a449f21ad176aa953310fa1880137b41 |