| Summary: | devel/m4 1.4.8_1 fails to build on FreeBSD 5.x | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jonathan Lennox <lennox> | ||||
| Component: | Individual Port(s) | Assignee: | Ade Lovett <ade> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Jonathan Lennox
2006-12-05 16:20:05 UTC
Responsible Changed From-To: freebsd-ports-bugs->ade Over to maintainer Here's an alternate patch, which uses a more up-to-date version of texinfo
instead, and so is more robust to changes in the port's info files, and also
could be used more-or-less verbatim for other ports which require a newer
version of makeinfo.
(I wonder if a general USE_TEXINFO variable should be defined in
bsd.port.mk?)
--- m4.patch.2 begins here ---
--- Makefile.orig Mon Dec 4 01:57:58 2006
+++ Makefile Tue Dec 5 12:54:33 2006
@@ -24,6 +24,14 @@
CONFIGURE_ARGS+= --enable-changeword
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600000
+# Texinfo files use features of makeinfo not present in FreeBSD 5.x's makeinfo 4.6
+BUILD_DEPENDS += ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
+CONFIGURE_ARGS += MAKEINFO=${LOCALBASE}/bin/makeinfo
+.endif
+
INFO= m4
MAN1= gm4.1
@@ -33,4 +41,4 @@
@${MKDIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- m4.patch.2 ends here ---
State Changed From-To: open->closed Committed though using the correct CONFIGURE_ENV as opposed to CONFIGURE_ARGS. ade 2006-12-05 18:36:17 UTC
FreeBSD ports repository
Modified files:
devel/m4 Makefile
Log:
Unbreak on FreeBSD < 6.0
PR: 106379 (with minor changes)
Submitted by: Jonathan Lennox <lennox@cs.columbia.edu>
Revision Changes Path
1.31 +8 -1 ports/devel/m4/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
|