View | Details | Raw Unified | Return to bug 215307
Collapse All | Expand All

(-)cad/openvsp/Makefile (-1 / +15 lines)
Lines 4-9 Link Here
4
PORTNAME=	openvsp
4
PORTNAME=	openvsp
5
PORTVERSION=	3.9.1
5
PORTVERSION=	3.9.1
6
DISTVERSIONPREFIX=	${GH_PROJECT}_
6
DISTVERSIONPREFIX=	${GH_PROJECT}_
7
PORTREVISION=	1
7
CATEGORIES=	cad
8
CATEGORIES=	cad
8
9
9
MAINTAINER=	fernando.apesteguia@gmail.com
10
MAINTAINER=	fernando.apesteguia@gmail.com
Lines 38-44 Link Here
38
39
39
CMAKE_SOURCE_PATH=	${WRKSRC}/SuperProject
40
CMAKE_SOURCE_PATH=	${WRKSRC}/SuperProject
40
CMAKE_INSTALL_PREFIX=	${STAGEDIR}${PREFIX}
41
CMAKE_INSTALL_PREFIX=	${STAGEDIR}${PREFIX}
41
USES=		cmake:outsource compiler:gcc-c++11-lib jpeg
42
USES=		cmake:outsource jpeg
43
44
.include <bsd.port.options.mk>
45
46
.if ${OSVERSION} == 1001000
47
# Fails to build with GCC 4.9 in 10.1
48
USE_GCC=	4.8
49
LDFLAGS+=	-L${LOCALBASE}/lib/c++
50
CXXFLAGS+=	-nostdinc++ -isystem ${LOCALBASE}/include/c++/v1
51
BUILD_DEPENDS+=	${LOCALBASE}/lib/c++/libstdc++.so:devel/libc++
52
.else
53
USES +=		compiler:gcc-c++11-lib
54
.endif
55
42
CMAKE_ARGS=	-DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \
56
CMAKE_ARGS=	-DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \
43
		-DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \
57
		-DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \
44
		-DVSP_USE_SYSTEM_LIBXML2:BOOLEAN=yes \
58
		-DVSP_USE_SYSTEM_LIBXML2:BOOLEAN=yes \

Return to bug 215307