ports/163215: [PATCH] devel/bullet: fix build on some configurations
Dmitry Marakasov
amdmi3 at amdmi3.ru
Tue Dec 13 00:30:12 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list