aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2006-12-06 02:36:17 +0800
committerade <ade@FreeBSD.org>2006-12-06 02:36:17 +0800
commit83c53eb2a2655cd8903c0cf9ef9d758e37bcd890 (patch)
tree6b21f0a09db7b8bae290753af30c85efbc633b93 /devel
parent737922d584497d7de4adcfac94ee2acc0ca34862 (diff)
downloadfreebsd-ports-gnome-83c53eb2a2655cd8903c0cf9ef9d758e37bcd890.tar.gz
freebsd-ports-gnome-83c53eb2a2655cd8903c0cf9ef9d758e37bcd890.tar.zst
freebsd-ports-gnome-83c53eb2a2655cd8903c0cf9ef9d758e37bcd890.zip
Unbreak on FreeBSD < 6.0
PR: 106379 (with minor changes) Submitted by: Jonathan Lennox <lennox@cs.columbia.edu>
Diffstat (limited to 'devel')
-rw-r--r--devel/m4/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index b3ed8f842d3c..6711cb3ff253 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -29,8 +29,15 @@ MAN1= gm4.1
EXAMPLESDIR= share/examples/gm4
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
+CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo
+.endif
+
post-install:
@${MKDIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>