summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2008-03-30 11:32:02 +0000
committerMax Khon <fjoe@FreeBSD.org>2008-03-30 11:32:02 +0000
commitd366498bc9477a63d7a375e59f23d8a24b1d6b86 (patch)
treed3c28e31d74dac29af167e3d0c11284513042c0a /databases
parentUpgrade sysutils/duplicity from 0.4.9 to 0.4.10. (diff)
Unbreak on FreeBSD 5 that has texinfo 4.6 and does not understand @headitem.
Notes
Notes: svn path=/head/; revision=210163
Diffstat (limited to 'databases')
-rw-r--r--databases/tora/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/databases/tora/Makefile b/databases/tora/Makefile
index 259de51e72f8..0162346bcba6 100644
--- a/databases/tora/Makefile
+++ b/databases/tora/Makefile
@@ -54,6 +54,11 @@ PREFIX2FIX= doc/help/tora/preferences.html doc/help/preferences.texi\
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 600029
+BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
+CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo
+.endif
+
pre-configure:
${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's|/etc/torarc|${PREFIX}/etc/torarc|' ${PREFIX2FIX:S|^|${WRKSRC}/|}