From 178592ab3637bd38a2921320ded2c7aada16c651 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 8 May 2015 14:04:50 +0000 Subject: - Don't install static libraries with INSTALL_LIB (part 1/2) Approved by: portmgr blanket MFH: 2015Q2 --- graphics/gdal/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'graphics/gdal/Makefile') diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index 3ac15ec1a268..3a1646a0f77b 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -3,6 +3,7 @@ PORTNAME= gdal PORTVERSION= 1.11.2 +PORTREVISION= 1 CATEGORIES= graphics geography MASTER_SITES= http://download.osgeo.org/gdal/${PORTVERSION}/ \ ftp://ftp.remotesensing.org/pub/gdal/${PORTVERSION}/ \ @@ -144,7 +145,7 @@ post-patch: @${RM} -fr ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/ post-install: - ${INSTALL_LIB} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/ + ${INSTALL_DATA} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/ ${TOUCH} ${STAGEDIR}${PREFIX}/lib/gdalplugins/.keepme ${INSTALL_DATA} ${WRKSRC}/GDALmake.opt ${STAGEDIR}${DATADIR}/ -${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libgdal.so.${PORTVERSION} -- cgit v1.2.3