aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/maradns/Makefile1
-rw-r--r--dns/maradns/files/patch-MaraDns.h9
2 files changed, 1 insertions, 9 deletions
diff --git a/dns/maradns/Makefile b/dns/maradns/Makefile
index 50d83d0e837c..9fb48fc9e9fc 100644
--- a/dns/maradns/Makefile
+++ b/dns/maradns/Makefile
@@ -36,6 +36,7 @@ PORTDOCS= *
PORTEXAMPLES= *
post-patch:
+ @${REINPLACE_CMD} -e 's/cc/${CC}/' ${WRKSRC}/build/Makefile.freebsd
@${FIND} ${WRKSRC} -type f ! -name "*.orig" | ${XARGS} ${REINPLACE_CMD} -e \
's|/etc/maradns|${ETCDIR}|g; s|/etc/mararc|${ETCDIR}|g' -e\
's|/etc/deadwood|${ETCDIR}|g' -e\
diff --git a/dns/maradns/files/patch-MaraDns.h b/dns/maradns/files/patch-MaraDns.h
index d61f25b945ad..e5e720c20951 100644
--- a/dns/maradns/files/patch-MaraDns.h
+++ b/dns/maradns/files/patch-MaraDns.h
@@ -1,14 +1,5 @@
--- ./MaraDns.h.orig 2014-02-12 08:17:18.000000000 +0000
+++ ./MaraDns.h 2014-02-20 15:23:22.000000000 +0000
-@@ -54,7 +54,7 @@
- /* The default UID (User ID) that MaraDNS has; I put this here so packagers
- can change this easily. This should be the 'nobody' user, or, optionally
- a special 'MaraDNS' user. This user needs to be able to enter
-- the /etc/maradns directory, and read all zone files in /etc/maradns
-+ the /usr/local/usr/local/usr/local/etc/maradns directory, and read all zone files in /usr/local/usr/local/usr/local/etc/maradns
-
- If you change this from 99, please also change the mararc man page, which
- states the default value for this is 99. To change the man page:
@@ -77,21 +77,21 @@
line to point to Bash
*/