ports/168153: [PATCH] databases/spatialite: update to 3.0.1
lbartoletti
coder at tuxfamily.org
Sat May 19 22:40:02 UTC 2012
>Number: 168153
>Category: ports
>Synopsis: [PATCH] databases/spatialite: update to 3.0.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat May 19 22:40:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: lbartoletti
>Release:
>Organization:
>Environment:
>Description:
update spatialite 2.2 -> 3.0.1
Need freexl (it's a new port)
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/databases/spatialite/Makefile spatialite/Makefile
--- /usr/ports/databases/spatialite/Makefile 2012-05-07 10:12:51.000000000 +0200
+++ spatialite/Makefile 2012-05-19 11:25:43.000000000 +0200
@@ -6,27 +6,32 @@
#
PORTNAME= spatialite
-PORTVERSION= 2.2
-PORTREVISION= 7
+PORTVERSION= 3.0.1
CATEGORIES= databases geography
-MASTER_SITES= http://www.gaia-gis.it/${PORTNAME}-${PORTVERSION}/
+MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
+DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= wenheping at gmail.com
COMMENT= Spatial Extensions for SQLite
LIB_DEPENDS= geos_c.8:${PORTSDIR}/graphics/geos \
- proj.7:${PORTSDIR}/graphics/proj \
- iconv.3:${PORTSDIR}/converters/libiconv
+ proj.7:${PORTSDIR}/graphics/proj \
+ freexl.1:${PORTSDIR}/databases/freexl
+EXTRACT_SUFX = .tar.gz
+WRKSRC= ${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -liconv
-CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+USE_SQLITE= yes
+USE_ICONV= yes
+
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ARGS+=CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
post-patch:
- @${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/sqlite3/Makefile.in
- @${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/shell/Makefile.in
-
+ @${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.am
+ @${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/configure
.include <bsd.port.mk>
diff -ruN /usr/ports/databases/spatialite/distinfo spatialite/distinfo
--- /usr/ports/databases/spatialite/distinfo 2011-03-20 13:48:05.000000000 +0100
+++ spatialite/distinfo 2012-05-09 20:58:59.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (spatialite-2.2.tar.gz) = 6cc19a315ac4ae1c88b84dda5444a057c0ddcb631bd1247dbca50b78a8d48c9b
-SIZE (spatialite-2.2.tar.gz) = 1355505
+SHA256 (libspatialite-3.0.1.tar.gz) = 4983d6584069fd5ff0cfcccccee1015088dab2db177c0dc7050ce8306b68f8e6
+SIZE (libspatialite-3.0.1.tar.gz) = 1849723
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list