From d366498bc9477a63d7a375e59f23d8a24b1d6b86 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Sun, 30 Mar 2008 11:32:02 +0000 Subject: [PATCH] Unbreak on FreeBSD 5 that has texinfo 4.6 and does not understand @headitem. --- databases/tora/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 +.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}/|}