aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
Diffstat (limited to 'dns')
-rw-r--r--dns/ldapdns/Makefile13
-rw-r--r--dns/ldapdns/files/patch-ldapdns.c10
2 files changed, 19 insertions, 4 deletions
diff --git a/dns/ldapdns/Makefile b/dns/ldapdns/Makefile
index 1eb8a68a84a1..b8fa360beed6 100644
--- a/dns/ldapdns/Makefile
+++ b/dns/ldapdns/Makefile
@@ -30,15 +30,20 @@ SCRIPTS= ldapdns-conf ldapaxfr-conf domainname.sh
DOCS= AUTHORS CHANGELOG FAQ INSTALL README README.[a-s]*
do-install:
- cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
- ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
+.for i in ${PROGRAMS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
+.endfor
+.for i in ${SCRIPTS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/bin
+.endfor
@${MKDIR} ${EXAMPLESDIR}/admin
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/admin/* ${EXAMPLESDIR}/admin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.for i in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/dns/ldapdns/files/patch-ldapdns.c b/dns/ldapdns/files/patch-ldapdns.c
new file mode 100644
index 000000000000..f72368e30a0f
--- /dev/null
+++ b/dns/ldapdns/files/patch-ldapdns.c
@@ -0,0 +1,10 @@
+--- ldapdns.c.orig Mon Jun 23 15:56:44 2003
++++ ldapdns.c Sun Oct 2 15:13:11 2005
+@@ -21,6 +21,7 @@
+ list_push(&x, lp->str);
+ list_push(&seen, lp->str);
+ HIT:
++ continue;
+ }
+
+ lp = *p;