summaryrefslogtreecommitdiffstats
path: root/dns/ldapdns
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-16 19:02:02 +0000
committermnag <mnag@FreeBSD.org>2005-10-16 19:02:02 +0000
commit56f8207c96ab4387f39200ac694fc9ae0b0b84d9 (patch)
treeb7daf47ed5432b805b1ce3b9e66ed75021dc4fc7 /dns/ldapdns
parent579c3d9c7f1838501bad9a03ad84da5ccbd51dd0 (diff)
downloadFreeBSD-ports-56f8207c96ab4387f39200ac694fc9ae0b0b84d9.zip
FreeBSD-ports-56f8207c96ab4387f39200ac694fc9ae0b0b84d9.tar.gz
Fix build on 5.x and 6.x
PR: 86500 Notified by: Carsten@earendil.aegisnet.de Approved by: paul@aps.org (maintainer timeout, 14 days)
Diffstat (limited to 'dns/ldapdns')
-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 1eb8a68..b8fa360 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 0000000..f72368e
--- /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;
OpenPOWER on IntegriCloud