svn commit: r381955 - head/graphics/gdal
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Mar 22 20:11:18 UTC 2015
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/
More information about the svn-ports-head
mailing list