From owner-freebsd-x11@FreeBSD.ORG Thu Aug 9 16:33:11 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A365106566B; Thu, 9 Aug 2012 16:33:10 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 79D518FC0C; Thu, 9 Aug 2012 16:33:10 +0000 (UTC) Received: by vcbgb22 with SMTP id gb22so738316vcb.13 for ; Thu, 09 Aug 2012 09:33:09 -0700 (PDT) Received: by 10.220.153.200 with SMTP id l8mr17528084vcw.40.1344529989382; Thu, 09 Aug 2012 09:33:09 -0700 (PDT) Received: from mocha.verizon.net (c-71-61-40-68.hsd1.oh.comcast.net. [71.61.40.68]) by mx.google.com with ESMTPS id e9sm1160497vdf.21.2012.08.09.09.33.08 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 09:33:09 -0700 (PDT) To: FreeBSD-gnats-submit@freebsd.org From: Jason E. Hale X-send-pr-version: 3.113 X-GNATS-Notify: Date: Thu, 9 Aug 2012 12:33:08 -0400 Message-Id: <1344529988.962291.70593@mocha.verizon.net> Cc: x11@FreeBSD.org Subject: [PATCH] graphics/libGL: Don't link to -lpthread directly X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jason E. Hale" List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 16:33:11 -0000 >Submitter-Id: current-users >Originator: Jason E. Hale >Organization: none >Confidential: no >Synopsis: [PATCH] graphics/libGL: Don't link to -lpthread directly >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 9.0-RELEASE i386 >Environment: System: FreeBSD mocha.verizon.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan 19 11:42:41 EST 2012 Jason@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA9 i386 >Description: The Mesa libraries link to -lpthread instead of PTHREAD_LIBS >How-To-Repeat: Build graphics/libGL, graphics/libGLU, graphics/libGLw, or graphics/dri >Fix: --- 2012-08-08-libGL.diff begins here --- Index: libGL/bsd.mesalib.mk =================================================================== --- libGL/bsd.mesalib.mk (revision 302306) +++ libGL/bsd.mesalib.mk (working copy) @@ -102,7 +102,7 @@ post-patch: @${REINPLACE_CMD} -e 's|-ffast-math|${FAST_MATH}|' -e 's|x86_64|amd64|' \ - ${WRKSRC}/configure + -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|[$$](INSTALL_LIB_DIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/src/glu/Makefile \ ${WRKSRC}/src/glw/Makefile \ Index: libGL/Makefile =================================================================== --- libGL/Makefile (revision 302306) +++ libGL/Makefile (working copy) @@ -7,6 +7,7 @@ PORTNAME= libGL PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= OpenGL library that renders using GLX or DRI Index: libGLU/Makefile =================================================================== --- libGLU/Makefile (revision 302306) +++ libGLU/Makefile (working copy) @@ -6,6 +6,7 @@ # PORTNAME= libGLU +PORTREVISION= 1 PORTVERSION= ${MESAVERSION} CATEGORIES= graphics Index: libGLw/Makefile =================================================================== --- libGLw/Makefile (revision 302306) +++ libGLw/Makefile (working copy) @@ -7,6 +7,7 @@ PORTNAME= libGLw PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= OpenGL widgets library Index: dri/Makefile =================================================================== --- dri/Makefile (revision 302306) +++ dri/Makefile (working copy) @@ -7,7 +7,7 @@ PORTNAME= dri PORTVERSION= ${MESAVERSION} -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= graphics --- 2012-08-08-libGL.diff ends here ---