aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnsmasq
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2012-06-12 04:49:30 +0800
committerMatthias Andree <mandree@FreeBSD.org>2012-06-12 04:49:30 +0800
commit781a77fac7ba67ef6db983ec8cd22764df867ec7 (patch)
tree067dcfc2c4065dcfc003e6f6ff62c7cf489ddcfa /dns/dnsmasq
parentf41a9936e961a62651d438a0b7071178e8398fe2 (diff)
downloadfreebsd-ports-gnome-781a77fac7ba67ef6db983ec8cd22764df867ec7.tar.gz
freebsd-ports-gnome-781a77fac7ba67ef6db983ec8cd22764df867ec7.tar.zst
freebsd-ports-gnome-781a77fac7ba67ef6db983ec8cd22764df867ec7.zip
Fix inverted PORT_OPTIONS:MDOCS logic, regression from optionsNG migration.
Reported by: Spil Oss Reported by: pointyhat (by way of pav@)
Diffstat (limited to 'dns/dnsmasq')
-rw-r--r--dns/dnsmasq/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile
index 706053e9f422..3c0d4135224f 100644
--- a/dns/dnsmasq/Makefile
+++ b/dns/dnsmasq/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dnsmasq
DISTVERSION= 2.62
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= dns ipv6
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ \
@@ -95,7 +96,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dnsmasq ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 ${PREFIX}/man/man8
-.if empty(PORT_OPTIONS:MDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif