aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2006-12-06 03:28:07 +0800
committerade <ade@FreeBSD.org>2006-12-06 03:28:07 +0800
commit0c6b28e79c2484d33a529e8b3dda14d7340dce0c (patch)
treecf3f24064c0538bd9b879250a85a6a3712b5971f /devel
parentc5ded6d50964eb6a6c3817b64885013e1d368ddd (diff)
downloadfreebsd-ports-gnome-0c6b28e79c2484d33a529e8b3dda14d7340dce0c.tar.gz
freebsd-ports-gnome-0c6b28e79c2484d33a529e8b3dda14d7340dce0c.tar.zst
freebsd-ports-gnome-0c6b28e79c2484d33a529e8b3dda14d7340dce0c.zip
Fix building documentation under FreeBSD < 6.0
PR: 106385 (with modifications) Submitted by: Jonathan Lennox <lennox@cs.columbia.edu>
Diffstat (limited to 'devel')
-rw-r--r--devel/gnu-automake/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/devel/gnu-automake/Makefile b/devel/gnu-automake/Makefile
index 8af035536cdb..40853d6bffde 100644
--- a/devel/gnu-automake/Makefile
+++ b/devel/gnu-automake/Makefile
@@ -28,13 +28,22 @@ GNU_CONFIGURE= yes
NO_MTREE= yes
CONFIGURE_ENV= AUTOCONF=${LOCALBASE}/gnu-autotools/bin/autoconf \
AUTOHEADER=${LOCALBASE}/gnu-autotools/bin/autoheader \
- MAKEINFO="makeinfo --no-split"
+ MAKEINFO="${MAKEINFO} --no-split"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --infodir=${PREFIX}/info --mandir=${PREFIX}/man
PLIST_SUB= VERSION=1.10
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+MAKEINFO= ${LOCALBASE}/bin/makeinfo
+BUILD_DEPENDS+= ${MAKEINFO}:${PORTSDIR}/print/texinfo
+.else
+MAKEINFO= makeinfo
+.endif
+
post-patch:
@(cd ${WRKSRC}/doc && ${RM} -f *.info*)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>