From nobody@FreeBSD.org  Wed Oct 29 07:39:28 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9D2571065680
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Oct 2008 07:39:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8A49E8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Oct 2008 07:39:28 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m9T7dSlP005771
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 29 Oct 2008 07:39:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id m9T7dSLW005770;
	Wed, 29 Oct 2008 07:39:28 GMT
	(envelope-from nobody)
Message-Id: <200810290739.m9T7dSLW005770@www.freebsd.org>
Date: Wed, 29 Oct 2008 07:39:28 GMT
From: Wen Heping <wenheping@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [Maintainer Update]databases/spatialite:update to 2.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         128457
>Category:       ports
>Synopsis:       [Maintainer Update]databases/spatialite:update to 2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 29 07:40:01 UTC 2008
>Closed-Date:    Sat Nov 01 21:59:27 UTC 2008
>Last-Modified:  Sat Nov  1 22:00:25 UTC 2008
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Oct 29 07:40:10 UTC 2008 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128457 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Nov 1 21:59:26 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128457 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/128457: commit references a PR
Date: Sat,  1 Nov 2008 21:59:32 +0000 (UTC)

 miwi        2008-11-01 21:59:18 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/spatialite Makefile distinfo pkg-plist 
   Log:
   - Update to 2.2
   
   PR:             128457
   Submitted by:   Wen Heping <wenheping@gmail.com> (maintainer)
   
   Revision  Changes    Path
   1.2       +6 -4      ports/databases/spatialite/Makefile
   1.2       +3 -3      ports/databases/spatialite/distinfo
   1.2       +4 -1      ports/databases/spatialite/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
