Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2015 20:11:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381955 - head/graphics/gdal
Message-ID:  <201503222011.t2MKBHq7091087@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Mar 22 20:11:17 2015
New Revision: 381955
URL: https://svnweb.freebsd.org/changeset/ports/381955
QAT: https://qat.redports.org/buildarchive/r381955/

Log:
  - Use -lpthread instead of -pthread
  
  PR:		198116
  Submitted by:	marino

Modified:
  head/graphics/gdal/Makefile

Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile	Sun Mar 22 20:06:18 2015	(r381954)
+++ head/graphics/gdal/Makefile	Sun Mar 22 20:11:17 2015	(r381955)
@@ -42,7 +42,7 @@ CONFIGURE_ARGS=	--datadir=${DATADIR} \
 		--with-threads=yes \
 		--without-libtool
 GNU_CONFIGURE=	yes
-LDFLAGS+=	-L${LOCALBASE} -pthread
+LDFLAGS+=	-L${LOCALBASE} -lpthread
 MAKE_JOBS_UNSAFE=	yes
 MAKEFILE=	GNUmakefile
 USE_LDCONFIG=	yes
@@ -132,7 +132,6 @@ XERCES_LIB_DEPENDS=	libxerces-c.so:${POR
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|$$(INST_LIB)/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/GNUmakefile
-	@${REINPLACE_CMD} -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
 # Cleanup bundled libraries
 	@${RM} -fr ${WRKSRC}/frmts/gif/giflib/
 	@${RM} -fr ${WRKSRC}/frmts/gtiff/libgeotiff/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503222011.t2MKBHq7091087>