aboutsummaryrefslogtreecommitdiff
path: root/devel/gnu-automake
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2006-12-05 19:28:07 +0000
committerAde Lovett <ade@FreeBSD.org>2006-12-05 19:28:07 +0000
commit6a6e03f39848a6763ad16f9476a35b03e4d6fe47 (patch)
tree24633b74973790d3f36957de3bb7acf9f935db39 /devel/gnu-automake
parentdf3589e28c809a071c408286a759962250e774df (diff)
downloadports-6a6e03f39848a6763ad16f9476a35b03e4d6fe47.tar.gz
ports-6a6e03f39848a6763ad16f9476a35b03e4d6fe47.zip
Notes
Diffstat (limited to 'devel/gnu-automake')
-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>