Date: Thu, 25 May 2006 01:18:10 +0100 From: Shaun Amott <shaun@inerd.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/97863: games/openttd: Fix build on 4.x (use ${PTHREAD_LIBS}) Message-ID: <1148516290.3198@charon.picobyte.net> Resent-Message-ID: <200605250020.k4P0KFT5096164@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97863 >Category: ports >Synopsis: games/openttd: Fix build on 4.x (use ${PTHREAD_LIBS}) >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: Thu May 25 00:20:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Shaun Amott >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: >Description: - Fix build on 4.x, by using ${PTHREAD_LIBS} Reported by pointyhat: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.4.2005092302/openttd-0.4.7.log >How-To-Repeat: >Fix: --- openttd.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/games/openttd/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 7 May 2006 23:45:28 -0000 1.8 +++ Makefile 25 May 2006 00:15:38 -0000 @@ -35,6 +35,7 @@ post-extract: @${REINPLACE_CMD} -e 's|-O2 $$(WARNING_DISPLAY)|${CFLAGS} $$(WARNING_DISPLAY)|' \ + -e 's|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/Makefile .if defined(WITH_DEDICATED_SERVER_ONLY) @${REINPLACE_CMD} -e 's|^WITH_SDL|#WITH_SDL|' ${WRKSRC}/makefiledir/Makefile.libdetection --- openttd.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148516290.3198>