summaryrefslogtreecommitdiff
path: root/devel/m4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/m4/Makefile')
-rw-r--r--devel/m4/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index b83ad762c8c8..d3fbc4a618d0 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -18,6 +18,7 @@ COMMENT= GNU m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
+CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
.if defined(WITH_CHANGEWORD)
CONFIGURE_ARGS+= --enable-changeword
@@ -28,17 +29,8 @@ 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 --no-split"
-.else
-CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
-.endif
-
post-install:
@${MKDIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>