diff options
-rw-r--r-- | devel/shapelib/Makefile | 3 | ||||
-rw-r--r-- | devel/shapelib/files/patch-contrib-Makefile | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/devel/shapelib/Makefile b/devel/shapelib/Makefile index 06004138a230..69dfbe44cde5 100644 --- a/devel/shapelib/Makefile +++ b/devel/shapelib/Makefile @@ -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, powerpc, powerpc64 and sparc post-patch: @${REINPLACE_CMD} \ - -e 's|%%LIBTOOL%%|${LIBTOOL}|g' \ -e 's|%%ENDIAN%%|${ENDIAN}|g' \ -e 's|%%PROJ%%|${PROJ}|g' \ ${WRKSRC}/Makefile ${WRKSRC}/contrib/Makefile diff --git a/devel/shapelib/files/patch-contrib-Makefile b/devel/shapelib/files/patch-contrib-Makefile index 8a700bf5d2ff..a95ca6c4e46d 100644 --- a/devel/shapelib/files/patch-contrib-Makefile +++ b/devel/shapelib/files/patch-contrib-Makefile @@ -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 |