From nobody@FreeBSD.org  Wed Nov 20 06:06:02 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id A8DC931C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Nov 2013 06:06:02 +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 98DED2F00
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Nov 2013 06:06:02 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAK662Xt072538
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Nov 2013 06:06:02 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAK662nu072532;
	Wed, 20 Nov 2013 06:06:02 GMT
	(envelope-from nobody)
Message-Id: <201311200606.rAK662nu072532@oldred.freebsd.org>
Date: Wed, 20 Nov 2013 06:06:02 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:         184099
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] databases/spatialite 4.1.1_1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wg
>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:    Sat Nov 30 15:02:59 UTC 2013
>Last-Modified:  Sat Nov 30 15:02:59 UTC 2013
>Originator:     lbartoletti
>Release:        
>Organization:
>Environment:
>Description:
Add libxml2 for some features and used for spatialite_gui
Minor changes into Makefile


Build details via Redports :
https://redports.org/buildarchive/20131117142803-52235/
>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:

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184099: commit references a PR
Date: Sat, 30 Nov 2013 14:55:42 +0000 (UTC)

 Author: wg
 Date: Sat Nov 30 14:55:34 2013
 New Revision: 335294
 URL: http://svnweb.freebsd.org/changeset/ports/335294
 
 Log:
   databases/spatialite: enable libxml2
   
   - Enable libxml2
   - USES pathfix pkgconfig
   
   PR:		ports/184099
   Submitted by:	maintainer
 
 Modified:
   head/databases/spatialite/Makefile
 
 Modified: head/databases/spatialite/Makefile
 ==============================================================================
 --- head/databases/spatialite/Makefile	Sat Nov 30 14:54:53 2013	(r335293)
 +++ head/databases/spatialite/Makefile	Sat Nov 30 14:55:34 2013	(r335294)
 @@ -3,6 +3,7 @@
  
  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 @@ LIB_DEPENDS=	libgeos_c.so:${PORTSDIR}/gr
  
  WRKSRC=		${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
  GNU_CONFIGURE=	yes
 +USES=		gmake iconv pathfix pkgconfig
  USE_SQLITE=	yes
 -USES=		gmake iconv
 -USE_GCC=	yes
 +USE_GNOME=	libxml2
  
 -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,13 +31,7 @@ post-patch:
  	@${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>
 +BROKEN_powerpc=		Does not compile on powerpc: invokes i386 assembler
  
 -.if ${ARCH} == "powerpc"
 -BROKEN=		Does not compile on powerpc: invokes i386 assembler
 -.endif
 -
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
Responsible-Changed-From-To: freebsd-ports-bugs->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Sat Nov 30 15:02:53 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184099 
State-Changed-From-To: open->closed 
State-Changed-By: wg 
State-Changed-When: Sat Nov 30 15:02:58 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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