Bug 186583 - [patch] devel/shapelib: big-endian fix
Summary: [patch] devel/shapelib: big-endian fix
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sunpoet Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-09 11:20 UTC by Tijl Coosemans
Modified: 2014-02-10 15:10 UTC (History)
0 users

See Also:


Attachments
shapelib.patch (1.00 KB, patch)
2014-02-09 11:20 UTC, Tijl Coosemans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tijl Coosemans freebsd_committer 2014-02-09 11:20:01 UTC
- Put %%ENDIAN%% back in patch-contrib-Makefile.  Seems to have been
  removed accidentally in r288687.
- Remove substitution of %%LIBTOOL%%.  Libtool isn't used.
Comment 1 Edwin Groothuis freebsd_committer 2014-02-09 11:20:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-02-10 15:05:37 UTC
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
  
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Sunpoet Po-Chuan Hsieh freebsd_committer 2014-02-10 15:06:10 UTC
State Changed
From-To: open->closed

Committed. Thanks!