Date: Mon, 05 Dec 2005 12:41:12 +0900 From: Tod McQuillin <devin@spamcop.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/89958: [PATCH] comms/spandsp: [fix build on FreeBSD < 5.3] Message-ID: <E1Ej7E0-000H82-Ud@mail.distalzou.net> Resent-Message-ID: <200512050350.jB53o2AF059752@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 89958 >Category: ports >Synopsis: [PATCH] comms/spandsp: [fix build on FreeBSD < 5.3] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 05 03:50:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Tod McQuillin >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD plexi.pun-pun.prv 4.11-STABLE FreeBSD 4.11-STABLE #0: Fri Oct 21 00:15:17 JST 2005 >Description: tgmath.h doesn't exist in FreeBSD prior to 5.3, so fake it when building on earlier FreeBSD Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: Attempt build on FreeBSD < 5.3 >Fix: --- spandsp-0.0.2.p20.patch begins here --- Index: Makefile =================================================================== RCS file: /usr/src/cvs-repo/ports/comms/spandsp/Makefile,v retrieving revision 1.6 diff -u -u -r1.6 Makefile --- Makefile 4 Dec 2005 06:34:57 -0000 1.6 +++ Makefile 5 Dec 2005 03:37:50 -0000 @@ -28,7 +28,12 @@ INSTALLS_SHLIB= yes +.include <bsd.port.pre.mk> + post-patch: @${FIND} ${WRKSRC} -name *.c | ${XARGS} ${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' +.if ${OSVERSION} < 503000 + ${TOUCH} ${WRKSRC}/src/tgmath.h +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- spandsp-0.0.2.p20.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Ej7E0-000H82-Ud>