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

(-)Makefile (-17 / +7 lines)
Lines 20-40 Link Here
20
		tar:bzip2
20
		tar:bzip2
21
USE_XORG=	ice sm x11 xext xi xmu xt
21
USE_XORG=	ice sm x11 xext xi xmu xt
22
USE_GL=		gl glu glut
22
USE_GL=		gl glu glut
23
LDFLAGS_mips=	-losgDB
24
LDFLAGS_mips64=	-losgDB
25
LDFLAGS_powerpc64=	-losgDB
26
LDFLAGS_powerpc=	-losgDB
27
LDFLAGS_powerpcspe=	-losgDB
28
LDFLAGS_sparc64=	-losgDB
23
29
24
.include <bsd.port.pre.mk>
30
.include <bsd.port.mk>
25
26
# Needs Clang 4.0+ to build, see:
27
# https://sourceforge.net/p/flightgear/codetickets/2015/
28
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 40
29
BUILD_DEPENDS+=	${LOCALBASE}/bin/clang40:devel/llvm40
30
CPP=	${LOCALBASE}/bin/clang-cpp40
31
CC=	${LOCALBASE}/bin/clang40
32
CXX=	${LOCALBASE}/bin/clang++40
33
.endif
34
35
# Work around "'to_string' is not a member of 'std'" when building with Gcc < 6
36
.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} < 60
37
CFLAGS+=	-D_GLIBCXX_USE_C99
38
.endif
39
40
.include <bsd.port.post.mk>

Return to bug 232832