Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 04:05:58 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        acm@FreeBSD.org
Subject:   ports/163215: [PATCH] devel/bullet: fix build on some configurations
Message-ID:  <20111213000558.25237250@hades.panopticon>
Resent-Message-ID: <201112130030.pBD0UCht071526@freefall.freebsd.org>

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

>Number:         163215
>Category:       ports
>Synopsis:       [PATCH] devel/bullet: fix build on some configurations
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 13 00:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.0-RC2 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.0-RC2 FreeBSD 9.0-RC2 #0: Tue Nov 29 07:18:03 MSK 2011
>Description:
On my 9.0-RC2 system, bullet doesn't link after CMAKE_USE_PTHREAD had been removed from bsd.cmake.mk:

http://people.freebsd.org/~amdmi3/bullet_verbose.log

This doesn't seem to show on pointyhat/tinderboxes, likely due to
some non-default OPTIONS used on my box, or the fact that I use
nvidia-driver which installs its own libGL.
Attached patch fixes the problem.

Port maintainer (acm@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- bullet-2.77.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/devel/bullet/Makefile,v
retrieving revision 1.14
diff -u -u -r1.14 Makefile
--- Makefile	14 Nov 2011 03:26:40 -0000	1.14
+++ Makefile	12 Dec 2011 23:53:47 -0000
@@ -21,6 +21,7 @@
 USE_CMAKE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	${PTHREAD_LIBS}
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
--- bullet-2.77.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?20111213000558.25237250>