aboutsummaryrefslogtreecommitdiff
path: root/dns/maradns
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-02-21 15:12:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-02-21 15:12:25 +0000
commitda2ae9b3daf5ea0c7b8f86db9ed8c5a6ad06e19f (patch)
treed5a0c5d3143fecf0818030d460913ab36ad66fec /dns/maradns
parentd75885e17a3ffe3bd16009e7be2739753a136255 (diff)
downloadports-da2ae9b3daf5ea0c7b8f86db9ed8c5a6ad06e19f.tar.gz
ports-da2ae9b3daf5ea0c7b8f86db9ed8c5a6ad06e19f.zip
Respect CC, cleanup some patch.
Submitted by: takefu (based on) Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=345480
Diffstat (limited to 'dns/maradns')
-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
*/