View | Details | Raw Unified | Return to bug 168153 | Differences between
and this patch

Collapse All | Expand All

(-)spatialite/Makefile (-11 / +16 lines)
Lines 6-32 Link Here
6
#
6
#
7
7
8
PORTNAME=	spatialite
8
PORTNAME=	spatialite
9
PORTVERSION=	2.2
9
PORTVERSION=	3.0.1
10
PORTREVISION=	7
11
CATEGORIES=	databases geography
10
CATEGORIES=	databases geography
12
MASTER_SITES=	http://www.gaia-gis.it/${PORTNAME}-${PORTVERSION}/
11
MASTER_SITES=	http://www.gaia-gis.it/gaia-sins/
12
DISTNAME=	lib${PORTNAME}-${PORTVERSION}
13
13
14
MAINTAINER=	wenheping@gmail.com
14
MAINTAINER=	wenheping@gmail.com
15
COMMENT=	Spatial Extensions for SQLite
15
COMMENT=	Spatial Extensions for SQLite
16
16
17
LIB_DEPENDS=	geos_c.8:${PORTSDIR}/graphics/geos \
17
LIB_DEPENDS=	geos_c.8:${PORTSDIR}/graphics/geos \
18
		proj.7:${PORTSDIR}/graphics/proj \
18
				proj.7:${PORTSDIR}/graphics/proj \
19
		iconv.3:${PORTSDIR}/converters/libiconv
19
				freexl.1:${PORTSDIR}/databases/freexl
20
20
21
EXTRACT_SUFX =	.tar.gz
22
WRKSRC=		${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
21
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
22
USE_GMAKE=	yes
24
USE_GMAKE=	yes
23
CFLAGS+=	-I${LOCALBASE}/include
25
USE_SQLITE=	yes
24
LDFLAGS+=	-L${LOCALBASE}/lib -liconv
26
USE_ICONV=	yes
25
CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
27
28
CPPFLAGS+=	-I${LOCALBASE}/include
29
LDFLAGS+=	-L${LOCALBASE}/lib
30
CONFIGURE_ARGS+=CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
26
USE_LDCONFIG=	yes
31
USE_LDCONFIG=	yes
27
32
28
post-patch:
33
post-patch:
29
	@${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/sqlite3/Makefile.in
34
	@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.am
30
	@${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/shell/Makefile.in
35
	@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.in
31
36
	@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/configure
32
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)spatialite/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (spatialite-2.2.tar.gz) = 6cc19a315ac4ae1c88b84dda5444a057c0ddcb631bd1247dbca50b78a8d48c9b
1
SHA256 (libspatialite-3.0.1.tar.gz) = 4983d6584069fd5ff0cfcccccee1015088dab2db177c0dc7050ce8306b68f8e6
2
SIZE (spatialite-2.2.tar.gz) = 1355505
2
SIZE (libspatialite-3.0.1.tar.gz) = 1849723

Return to bug 168153