Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2013 14:55:34 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335294 - head/databases/spatialite
Message-ID:  <201311301455.rAUEtYYE082909@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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