From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 25 00:20:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 978D116A42A for ; Thu, 25 May 2006 00:20:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EE9F43D48 for ; Thu, 25 May 2006 00:20:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4P0KFP2096165 for ; Thu, 25 May 2006 00:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4P0KFT5096164; Thu, 25 May 2006 00:20:15 GMT (envelope-from gnats) Resent-Date: Thu, 25 May 2006 00:20:15 GMT Resent-Message-Id: <200605250020.k4P0KFT5096164@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Shaun Amott Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13EE716A43E for ; Thu, 25 May 2006 00:18:13 +0000 (UTC) (envelope-from shaun@inerd.com) Received: from dione.picobyte.net (host-212-158-207-124.bulldogdsl.com [212.158.207.124]) by mx1.FreeBSD.org (Postfix) with SMTP id 66BD143D48 for ; Thu, 25 May 2006 00:18:12 +0000 (GMT) (envelope-from shaun@inerd.com) Received: from charon.picobyte.net (charon.picobyte.net [IPv6:2001:4bd0:201e::fe03]) by dione.picobyte.net (Postfix) with ESMTP for ; Thu, 25 May 2006 01:18:10 +0100 (BST) Message-Id: <1148516290.3198@charon.picobyte.net> Date: Thu, 25 May 2006 01:18:10 +0100 From: Shaun Amott To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/97863: games/openttd: Fix build on 4.x (use ${PTHREAD_LIBS}) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Shaun Amott List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 00:20:16 -0000 >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: