| Summary: | [PATCH] gpac-libm4systems ports does not compile on FreeBSD < 5 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Sven Berkvens-Matthijsse <sven> |
| Component: | Individual Port(s) | Assignee: | Michael Johnson <ahze> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->ahze Over to maintainer. State Changed From-To: open->closed Committed, Thanks! |
The port gpac-libm4systems does not compile on FreeBSD 4.x. The reason is that the Makefile tries to patch some files that are not present and leaves a file that needs patches untouched. Fix: Change the post-patch rule from: .if ${OSVERSION} < 500000 @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ ${WRKSRC}/include/gpac/m4_config.h @${RM} -f ${WRKSRC}/include/gpac/m4_config.h.bak @${REINPLACE_CMD} -e 's|^M||' \ ${WRKSRC}/include/gpac/m4_descriptors.h \ ${WRKSRC}/M4Systems/authoring/TextImport.c @${RM} -f ${WRKSRC}/include/gpac/m4_descriptors.h.bak .endif ${CHMOD} +x ${WRKSRC}/configure to: post-patch: .if ${OSVERSION} < 500000 @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \ ${WRKSRC}/include/gpac/setup.h @${RM} -f ${WRKSRC}/include/gpac/setup.h.bak .endif ${CHMOD} +x ${WRKSRC}/configure How-To-Repeat: Try to install the multimedia/gpac-libm4systems port on FreeBSD 4.x.