summaryrefslogtreecommitdiff
path: root/net/dnsmasq/Makefile
diff options
context:
space:
mode:
authorahoka <ahoka>2008-09-25 20:33:53 +0000
committerahoka <ahoka>2008-09-25 20:33:53 +0000
commit48421183423239dc57dfa4394dab52fb48ec00bf (patch)
treec216a470295387982df7336a27fa370b66e997bd /net/dnsmasq/Makefile
parent1f9bb51dfc75f23b222327916ce77b2742c06fef (diff)
downloadpkgsrc-48421183423239dc57dfa4394dab52fb48ec00bf.tar.gz
Make it look for it's config file at the right place.
Diffstat (limited to 'net/dnsmasq/Makefile')
-rw-r--r--net/dnsmasq/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/dnsmasq/Makefile b/net/dnsmasq/Makefile
index 99489e279b1..80a475e95f4 100644
--- a/net/dnsmasq/Makefile
+++ b/net/dnsmasq/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2008/07/23 23:46:08 tonnerre Exp $
+# $NetBSD: Makefile,v 1.6 2008/09/25 20:33:53 ahoka Exp $
#
DISTNAME= dnsmasq-2.45
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
@@ -14,6 +15,8 @@ USE_TOOLS+= gmake
RCD_SCRIPTS= dnsmasq
CONF_FILES= ${PREFIX}/share/examples/dnsmasq/dnsmasq.conf.example \
${PKG_SYSCONFDIR}/dnsmasq.conf
+
+CFLAGS+= -DCONFFILE=\"${PKG_SYSCONFDIR}/dnsmasq.conf\"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
${INSTALL} ${WRKSRC}/dnsmasq.conf.example \