Bug 184099 - [MAINTAINER-UPDATE] databases/spatialite 4.1.1_1
Summary: [MAINTAINER-UPDATE] databases/spatialite 4.1.1_1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 06:10 UTC by Loïc Bartoletti
Modified: 2013-11-30 15:02 UTC (History)
0 users

See Also:


Attachments
file.diff (1.39 KB, patch)
2013-11-20 06:10 UTC, Loïc Bartoletti
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Bartoletti freebsd_committer freebsd_triage 2013-11-20 06:10:00 UTC
Add libxml2 for some features and used for spatialite_gui
Minor changes into Makefile


Build details via Redports :
https://redports.org/buildarchive/20131117142803-52235/

Fix: Patch attached with submission follows:
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-11-30 14:55:42 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"
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2013-11-30 15:02:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-11-30 15:02:58 UTC
State Changed
From-To: open->closed

Committed. Thanks!