aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2008-03-30 19:32:02 +0800
committerfjoe <fjoe@FreeBSD.org>2008-03-30 19:32:02 +0800
commit994470da5f20e9cbdef63236dc70a9128b96eddd (patch)
tree5324e59380b10d4afff4fa152e3f24692390d6f0
parent8469d17bed328349ba373667463e938cc810992d (diff)
downloadfreebsd-ports-gnome-994470da5f20e9cbdef63236dc70a9128b96eddd.tar.gz
freebsd-ports-gnome-994470da5f20e9cbdef63236dc70a9128b96eddd.tar.zst
freebsd-ports-gnome-994470da5f20e9cbdef63236dc70a9128b96eddd.zip
Unbreak on FreeBSD 5 that has texinfo 4.6 and does not understand @headitem.
-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}/|}