ports/186583: [patch] devel/shapelib: big-endian fix

Tijl Coosemans tijl at FreeBSD.org
Sun Feb 9 11:20:02 UTC 2014


>Number:         186583
>Category:       ports
>Synopsis:       [patch] devel/shapelib: big-endian fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 09 11:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tijl Coosemans
>Release:        FreeBSD 11.0-CURRENT i386
>Organization:
>Environment:
>Description:
- Put %%ENDIAN%% back in patch-contrib-Makefile.  Seems to have been
  removed accidentally in r288687.
- Remove substitution of %%LIBTOOL%%.  Libtool isn't used.
>How-To-Repeat:
>Fix:

--- shapelib.patch begins here ---
Index: devel/shapelib/Makefile
===================================================================
--- devel/shapelib/Makefile	(revision 343455)
+++ devel/shapelib/Makefile	(working copy)
@@ -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
Index: devel/shapelib/files/patch-contrib-Makefile
===================================================================
--- devel/shapelib/files/patch-contrib-Makefile	(revision 343455)
+++ devel/shapelib/files/patch-contrib-Makefile	(working copy)
@@ -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
  
--- shapelib.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list