svn commit: r343644 - in head/devel/shapelib: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Feb 10 15:05:29 UTC 2014


Author: sunpoet
Date: Mon Feb 10 15:05:28 2014
New Revision: 343644
URL: http://svnweb.freebsd.org/changeset/ports/343644
QAT: https://qat.redports.org/buildarchive/r343644/

Log:
  - Restore %%ENDIAN%% which was accidentally removed in r288687
  - Remove unnecessary %%LIBTOOL%% substitution
  
  PR:		ports/186583
  Submitted by:	tijl

Modified:
  head/devel/shapelib/Makefile
  head/devel/shapelib/files/patch-contrib-Makefile

Modified: head/devel/shapelib/Makefile
==============================================================================
--- head/devel/shapelib/Makefile	Mon Feb 10 15:04:40 2014	(r343643)
+++ head/devel/shapelib/Makefile	Mon Feb 10 15:05:28 2014	(r343644)
@@ -3,7 +3,7 @@
 
 PORTNAME=	shapelib
 PORTVERSION=	1.3.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	devel geography
 MASTER_SITES=	http://download.osgeo.org/shapelib/ \
 		ftp://ftp.remotesensing.org/shapelib/ \
@@ -41,7 +41,6 @@ ENDIAN=		-D_BIG_ENDIAN	# mips*eb, powerp
 
 post-patch:
 	@${REINPLACE_CMD} \
-		-e 's|%%LIBTOOL%%|${LIBTOOL}|g' \
 		-e 's|%%ENDIAN%%|${ENDIAN}|g' \
 		-e 's|%%PROJ%%|${PROJ}|g' \
 			${WRKSRC}/Makefile ${WRKSRC}/contrib/Makefile

Modified: head/devel/shapelib/files/patch-contrib-Makefile
==============================================================================
--- head/devel/shapelib/files/patch-contrib-Makefile	Mon Feb 10 15:04:40 2014	(r343643)
+++ head/devel/shapelib/files/patch-contrib-Makefile	Mon Feb 10 15:05:28 2014	(r343644)
@@ -8,7 +8,7 @@
 +#ENDIAN	=	-D_LITTLE_ENDIAN
  
 -CFLAGS	=	-g -I.. -I$(HOME)/bld/include -DPROJ4 $(ENDIAN) -DDEBUG -DDEBUG2 
-+CFLAGS	+=	 -D_LITTLE_ENDIAN %%PROJ%% -I.. -I$(LOCALBASE)/include -L$(LOCALBASE)/lib
++CFLAGS	+=	 %%ENDIAN%% %%PROJ%% -I.. -I$(LOCALBASE)/include -L$(LOCALBASE)/lib
  
  SHPOBJ	=	../shpopen.o ../dbfopen.o ../safileio.o
  


More information about the svn-ports-all mailing list