From nobody@FreeBSD.org  Wed Nov 20 06:04:34 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 643C62C2
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Nov 2013 06:04:34 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 540512EF7
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Nov 2013 06:04:34 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAK64XF6038633
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Nov 2013 06:04:33 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAK64XWR038608;
	Wed, 20 Nov 2013 06:04:33 GMT
	(envelope-from nobody)
Message-Id: <201311200604.rAK64XWR038608@oldred.freebsd.org>
Date: Wed, 20 Nov 2013 06:04:33 GMT
From: lbartoletti <coder@tuxfamily.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [MAINTAINER-UPDATE] databases/spatialite 4.1.1_1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         184100
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] databases/spatialite 4.1.1_1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 20 06:10:00 UTC 2013
>Closed-Date:    Wed Nov 20 14:57:52 UTC 2013
>Last-Modified:  Wed Nov 20 14:57:52 UTC 2013
>Originator:     lbartoletti
>Release:        
>Organization:
>Environment:
>Description:
Add libxml2 for some features and used for spatialite_gui
Minor changes into Makefile
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN databases/spatialite.orig/Makefile databases/spatialite/Makefile
--- databases/spatialite.orig/Makefile	2013-11-05 13:40:29.000000000 +0100
+++ databases/spatialite/Makefile	2013-11-20 07:01:42.000000000 +0100
@@ -1,8 +1,9 @@
 # Created by: Wen Heping <wenheping@gmail.com>
-# $FreeBSD: databases/spatialite/Makefile 332842 2013-11-05 12:40:29Z wen $
+# $FreeBSD$
 
 PORTNAME=	spatialite
 PORTVERSION=	4.1.1
+PORTREVISION=	1
 CATEGORIES=	databases geography
 MASTER_SITES=	http://www.gaia-gis.it/gaia-sins/
 DISTNAME=	lib${PORTNAME}-${PORTVERSION}
@@ -16,13 +17,13 @@
 
 WRKSRC=		${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
 GNU_CONFIGURE=	yes
+USES=		gmake iconv pkgconfig
 USE_SQLITE=	yes
-USES=		gmake iconv
-USE_GCC=	yes
+USE_GNOME=	libxml2 gnomehack
 
-CPPFLAGS+=	-I${WRKSRC}/src/headers -I${LOCALBASE}/include
+CFLAGS+=	-I${WRKSRC}/src/headers -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
-CONFIGURE_ARGS+=CFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS+=--enable-libxml2=yes CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 USE_LDCONFIG=	yes
 
 NO_STAGE=	yes
@@ -30,8 +31,6 @@
 	@${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
-	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
-		${WRKSRC}/Makefile.in
 
 .include <bsd.port.pre.mk>
 


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jadawin 
State-Changed-When: Wed Nov 20 14:57:52 UTC 2013 
State-Changed-Why:  
duplicated with 184099 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184100 
>Unformatted:
