1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Unbreak on FreeBSD 5 that has texinfo 4.6 and does not understand @headitem.

This commit is contained in:
Max Khon 2008-03-30 11:32:02 +00:00
parent 575c771554
commit d366498bc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210163

View File

@ -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}/|}