Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Oct 2005 13:20:20 +0200 (CEST)
From:      Sven Berkvens-Matthijsse <sven@ilse.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86870: [PATCH] gpac-libm4systems ports does not compile on FreeBSD < 5
Message-ID:  <200510031120.j93BKKnB040347@serv7.ilse.net>
Resent-Message-ID: <200510031130.j93BUBEh074038@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510031120.j93BKKnB040347>