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

Collapse All | Expand All

(-)Makefile (-1 / +13 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	geos
4
PORTNAME=	geos
5
PORTVERSION=	3.5.0
5
PORTVERSION=	3.5.0
6
PORTREVISION=	1
6
CATEGORIES=	graphics geography
7
CATEGORIES=	graphics geography
7
MASTER_SITES=	http://download.osgeo.org/geos/ \
8
MASTER_SITES=	http://download.osgeo.org/geos/ \
8
		LOCAL/sunpoet
9
		LOCAL/sunpoet
Lines 17-22 Link Here
17
OPTIONS_SUB=	yes
18
OPTIONS_SUB=	yes
18
19
19
CONFIGURE_ARGS=	ac_cv_path_SWIG=${LOCALBASE}/bin/swig3.0
20
CONFIGURE_ARGS=	ac_cv_path_SWIG=${LOCALBASE}/bin/swig3.0
21
CMAKE_ARGS=	-DGEOS_ENABLE_TESTS=ON
20
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
21
INSTALL_TARGET=	install-strip
23
INSTALL_TARGET=	install-strip
22
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
Lines 36-41 Link Here
36
RUBY_USE=		RUBY=yes
38
RUBY_USE=		RUBY=yes
37
39
38
post-patch:
40
post-patch:
39
	@${REINPLACE_CMD} -e 's|-lstdc++||' ${WRKSRC}/tests/geostest/Makefile.in ${WRKSRC}/tests/thread/Makefile.in
41
	@${REINPLACE_CMD} -e 's|-lstdc++||' \
42
		${WRKSRC}/tests/geostest/Makefile.in \
43
		${WRKSRC}/tests/thread/Makefile.in
44
45
post-configure:
46
	@${FIND} ${WRKSRC} -name Makefile -exec \
47
		${REINPLACE_CMD} -e \
48
			's|CXXFLAGS = \-O2|CXXFLAGS =|' \{\} \;
49
50
check:
51
	(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
40
52
41
.include <bsd.port.mk>
53
.include <bsd.port.mk>

Return to bug 213173