aboutsummaryrefslogtreecommitdiff
path: root/databases/spatialite/Makefile
diff options
context:
space:
mode:
authorBartek Rutkowski <robak@FreeBSD.org>2015-07-11 13:37:53 +0000
committerBartek Rutkowski <robak@FreeBSD.org>2015-07-11 13:37:53 +0000
commit7e67af59abdb41c6a20caa8580ab1eded9b71f38 (patch)
treed78789d1403eadfed0b0e844354f1ad4f9a2f6a9 /databases/spatialite/Makefile
parent65485b5563247ac19599d67ba0362fe040aaa85a (diff)
Notes
Diffstat (limited to 'databases/spatialite/Makefile')
-rw-r--r--databases/spatialite/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/databases/spatialite/Makefile b/databases/spatialite/Makefile
index 87deec7fb107..4fec8e1e5187 100644
--- a/databases/spatialite/Makefile
+++ b/databases/spatialite/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= spatialite
-PORTVERSION= 4.2.0
-PORTREVISION= 1
+PORTVERSION= 4.3.0
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
DISTNAME= lib${PORTNAME}-${PORTVERSION}
@@ -26,9 +25,14 @@ USE_GNOME= libxml2
CFLAGS+= -I${WRKSRC}/src/headers -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
-CONFIGURE_ARGS+=--enable-libxml2=yes CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS+= --enable-gcp=yes --enable-libxml2=yes CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
+OPTIONS_DEFINE=LWGEOM
+LWGEOM_DESC=Enable lwgeom (PostGIS) functions
+LWGEOM_CONFIGURE_ENABLE= lwgeom
+LWGEOM_LIB_DEPENDS= liblwgeom.so:${PORTSDIR}/databases/postgis21
+
post-patch:
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.am
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.in