ports/86870: [PATCH] gpac-libm4systems ports does not compile on FreeBSD < 5
Sven Berkvens-Matthijsse
sven at ilse.net
Mon Oct 3 11:30:12 UTC 2005
>Number: 86870
>Category: ports
>Synopsis: [PATCH] gpac-libm4systems ports does not compile on FreeBSD < 5
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 03 11:30:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Sven Berkvens-Matthijsse
>Release: FreeBSD 4.10-STABLE i386
>Organization:
ilse media
>Environment:
System: FreeBSD serv7.ilse.net 4.10-STABLE FreeBSD 4.10-STABLE #23: Wed Aug 4 15:18:52 CEST 2004 root at tango.ilse.net:/usr/obj/usr/src/sys/BAROQUE i386
>Description:
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.
>How-To-Repeat:
Try to install the multimedia/gpac-libm4systems port on FreeBSD 4.x.
>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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list