Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 06:06:02 GMT
From:      lbartoletti <coder@tuxfamily.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/184099: [MAINTAINER-UPDATE] databases/spatialite 4.1.1_1
Message-ID:  <201311200606.rAK662nu072532@oldred.freebsd.org>
Resent-Message-ID: <201311200610.rAK6A0Ud037345@freefall.freebsd.org>

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

>Number:         184099
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] databases/spatialite 4.1.1_1
>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 Nov 20 06:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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