ports/184100: [MAINTAINER-UPDATE] databases/spatialite 4.1.1_1
lbartoletti
coder at tuxfamily.org
Wed Nov 20 06:10:01 UTC 2013
>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: 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
>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 at 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:
More information about the freebsd-ports-bugs
mailing list