aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-02-10 23:05:28 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-02-10 23:05:28 +0800
commit749e92b417cf3516686f9e637a35cae959e6daa5 (patch)
treef524a4e37361ff5992f336083b588f1366902f66 /devel
parent2384a937d29a7f09c0d8696671d2824a9e96df2e (diff)
downloadfreebsd-ports-gnome-749e92b417cf3516686f9e637a35cae959e6daa5.tar.gz
freebsd-ports-gnome-749e92b417cf3516686f9e637a35cae959e6daa5.tar.zst
freebsd-ports-gnome-749e92b417cf3516686f9e637a35cae959e6daa5.zip
- Restore %%ENDIAN%% which was accidentally removed in r288687
- Remove unnecessary %%LIBTOOL%% substitution PR: ports/186583 Submitted by: tijl
Diffstat (limited to 'devel')
-rw-r--r--devel/shapelib/Makefile3
-rw-r--r--devel/shapelib/files/patch-contrib-Makefile2
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