Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 12:16:35 +0100 (CET)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186583: [patch] devel/shapelib: big-endian fix
Message-ID:  <201402091116.s19BGZ7J001309@kalimero.tijl.coosemans.org>
Resent-Message-ID: <201402091120.s19BK1w2003400@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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