From 1bd3aeaf9469fa4926e3af130a44236758f94204 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Thu, 13 Sep 2012 18:07:55 +0000 Subject: [PATCH] - Use PTHREAD_LIBS instead of -lpthread PR: ports/170506 Submitted by: Jason E. Hale --- graphics/dri/Makefile | 2 +- graphics/libGL/Makefile | 2 +- graphics/libGL/bsd.mesalib.mk | 2 +- graphics/libGLU/Makefile | 1 + graphics/libGLw/Makefile | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/graphics/dri/Makefile b/graphics/dri/Makefile index f4ca15183f10..c4c23d84ee7a 100644 --- a/graphics/dri/Makefile +++ b/graphics/dri/Makefile @@ -7,7 +7,7 @@ PORTNAME= dri PORTVERSION= ${MESAVERSION} -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= graphics diff --git a/graphics/libGL/Makefile b/graphics/libGL/Makefile index 1ed64ebf10ac..7411113e64e5 100644 --- a/graphics/libGL/Makefile +++ b/graphics/libGL/Makefile @@ -7,7 +7,7 @@ PORTNAME= libGL PORTVERSION= ${MESAVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics COMMENT= OpenGL library that renders using GLX or DRI diff --git a/graphics/libGL/bsd.mesalib.mk b/graphics/libGL/bsd.mesalib.mk index 9e36d6d8f484..72daee8e1d1b 100644 --- a/graphics/libGL/bsd.mesalib.mk +++ b/graphics/libGL/bsd.mesalib.mk @@ -102,7 +102,7 @@ CONFIGURE_ARGS+= --enable-xcb 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 \ diff --git a/graphics/libGLU/Makefile b/graphics/libGLU/Makefile index 0a199266ade3..0cd220e06461 100644 --- a/graphics/libGLU/Makefile +++ b/graphics/libGLU/Makefile @@ -6,6 +6,7 @@ # PORTNAME= libGLU +PORTREVISION= 1 PORTVERSION= ${MESAVERSION} CATEGORIES= graphics diff --git a/graphics/libGLw/Makefile b/graphics/libGLw/Makefile index 4c9f14d0481f..c1b60842d3d1 100644 --- a/graphics/libGLw/Makefile +++ b/graphics/libGLw/Makefile @@ -7,6 +7,7 @@ PORTNAME= libGLw PORTVERSION= ${MESAVERSION} +PORTREVISION= 1 CATEGORIES= graphics COMMENT= OpenGL widgets library