From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 9 16:40:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC5EA106564A for ; Thu, 9 Aug 2012 16:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8EFDC8FC14 for ; Thu, 9 Aug 2012 16:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q79Ge1Mw002966 for ; Thu, 9 Aug 2012 16:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q79Ge18a002965; Thu, 9 Aug 2012 16:40:01 GMT (envelope-from gnats) Resent-Date: Thu, 9 Aug 2012 16:40:01 GMT Resent-Message-Id: <201208091640.q79Ge18a002965@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, "Jason E. Hale" 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) Message-Id: <1344529988.962291.70593@mocha.verizon.net> Date: Thu, 9 Aug 2012 12:33:08 -0400 From: "Jason E. Hale" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: x11@FreeBSD.org Subject: ports/170506: [PATCH] graphics/libGL: Don't link to -lpthread directly X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jason E. Hale" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 16:40:01 -0000 >Number: 170506 >Category: ports >Synopsis: [PATCH] graphics/libGL: Don't link to -lpthread directly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 09 16:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jason E. Hale >Release: FreeBSD 9.0-RELEASE i386 >Organization: none >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 --- >Release-Note: >Audit-Trail: >Unformatted: