Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2008 07:39:28 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/128457: [Maintainer Update]databases/spatialite:update to 2.2
Message-ID:  <200810290739.m9T7dSLW005770@www.freebsd.org>
Resent-Message-ID: <200810290740.m9T7e2Me030502@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128457
>Category:       ports
>Synopsis:       [Maintainer Update]databases/spatialite:update to 2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 29 07:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD-8.0 Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Sep 21 18:56:51 HKT 2008     root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
update to 2.2 from 2.0
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2008-10-29 23:03:56.000000000 +0800
+++ Makefile	2008-10-29 23:03:56.000000000 +0800
@@ -6,24 +6,26 @@
 #
 
 PORTNAME=	spatialite
-PORTVERSION=	2.0
+PORTVERSION=	2.2
 CATEGORIES=	databases geography
-MASTER_SITES=	http://www.gaia-gis.it/spatialite-2.0/
+MASTER_SITES=	http://www.gaia-gis.it/${PORTNAME}-${PORTVERSION}/
 
 MAINTAINER=	wenheping@gmail.com
 COMMENT=	Spatial Extensions for SQLite
 
 LIB_DEPENDS=	geos_c.5:${PORTSDIR}/graphics/geos/ \
-		proj.5:${PORTSDIR}/graphics/proj/
+		proj.5:${PORTSDIR}/graphics/proj/ \
+		iconv.3:${PORTSDIR}/converters/libiconv/
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L${LOCALBASE}/lib -liconv
 CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" 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
 
 .include <bsd.port.mk>
--- distinfo.orig	2008-10-29 23:03:56.000000000 +0800
+++ distinfo	2008-10-29 23:03:56.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (spatialite-2.0.tar.gz) = 57a4343e1507e1db67f137a699676a9f
-SHA256 (spatialite-2.0.tar.gz) = 79448ee25c7be75581d2cb61b7d4a8fd93c94e015b05532e8a02c74ef28cf7a6
-SIZE (spatialite-2.0.tar.gz) = 1259917
+MD5 (spatialite-2.2.tar.gz) = 099e2527c57a51e2648d9bb75af12d90
+SHA256 (spatialite-2.2.tar.gz) = 6cc19a315ac4ae1c88b84dda5444a057c0ddcb631bd1247dbca50b78a8d48c9b
+SIZE (spatialite-2.2.tar.gz) = 1355505
--- pkg-plist.orig	2008-10-29 23:03:56.000000000 +0800
+++ pkg-plist	2008-10-29 23:08:43.000000000 +0800
@@ -1,11 +1,14 @@
 bin/spatialite
+lib/libsqlite3.la
+lib/libsqlite3.a
+lib/libsqlite3.so
+lib/libsqlite3.so.3
 lib/libspatialite.la
 lib/libspatialite.a
 lib/libspatialite.so
 lib/libspatialite.so.2
 include/spatialite.h
 include/spatialite/gaiageo.h
-include/spatialite/rtree.h
 include/spatialite/spatialite.h
 include/spatialite/sqlite3.h
 include/spatialite/sqlite3ext.h


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810290739.m9T7dSLW005770>