aboutsummaryrefslogtreecommitdiffstats
path: root/dns/maradns
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-02-21 23:12:25 +0800
committermat <mat@FreeBSD.org>2014-02-21 23:12:25 +0800
commita7ed831c8e23175eca8c3902f5af70abb8ff6eb5 (patch)
treed5a0c5d3143fecf0818030d460913ab36ad66fec /dns/maradns
parent8fe6386c60447049aa0cfbd4878cf7618c82f0ad (diff)
downloadfreebsd-ports-gnome-a7ed831c8e23175eca8c3902f5af70abb8ff6eb5.tar.gz
freebsd-ports-gnome-a7ed831c8e23175eca8c3902f5af70abb8ff6eb5.tar.zst
freebsd-ports-gnome-a7ed831c8e23175eca8c3902f5af70abb8ff6eb5.zip
Respect CC, cleanup some patch.
Submitted by: takefu (based on) Sponsored by: Absolight
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
*/