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

Collapse All | Expand All

(-)Makefile (-18 / +6 lines)
Lines 25-31 Link Here
25
25
26
USE_GSTREAMER1=	yes
26
USE_GSTREAMER1=	yes
27
USE_XORG=	xt xdamage xcomposite
27
USE_XORG=	xt xdamage xcomposite
28
USES=		bison gettext gmake gperf libtool perl5 \
28
USES=		bison compiler:c++11-lib gettext gmake gperf libtool perl5 \
29
		pkgconfig shebangfix tar:xz
29
		pkgconfig shebangfix tar:xz
30
USE_RUBY=	yes
30
USE_RUBY=	yes
31
RUBY_NO_RUN_DEPENDS=yes
31
RUBY_NO_RUN_DEPENDS=yes
Lines 85-109 Link Here
85
# gtest to use <tr1/tuple,> while libc++ only has <tuple>
85
# gtest to use <tr1/tuple,> while libc++ only has <tuple>
86
CPPFLAGS+=	-DGTEST_USE_OWN_TR1_TUPLE
86
CPPFLAGS+=	-DGTEST_USE_OWN_TR1_TUPLE
87
# Shutup warning spam
87
# Shutup warning spam
88
CXXFLAGS+=	-Wno-c++11-extensions -Qunused-arguments
88
CXXFLAGS+=	-Wno-c++11-extensions
89
89
90
CONFIGURE_ARGS+=--enable-webkit2
90
CONFIGURE_ARGS+=--enable-webkit2
91
# We need clang + libc++ or gcc 4.7+. gcc has libstdc++ conflict between
92
# gcc port and base. This originates from icu
93
.if ${OSVERSION} < 900000
94
BROKEN=		Fails to build
95
.endif
96
.if ${OSVERSION}<1000019
97
CXXFLAGS+=	-stdlib=libc++ -I${LOCALBASE}/include/c++/v1
98
LDFLAGS+=	-stdlib=libc++
99
BUILD_DEPENDS+=	clang34>=3.4:${PORTSDIR}/lang/clang34 \
100
		libc++>=0:${PORTSDIR}/devel/libc++
101
RUN_DEPENDS+=	libc++>=0:${PORTSDIR}/devel/libc++
102
CC=		clang34
103
CXX=		clang++34
104
CPP=		clang-cpp34
105
CONFIGURE_ENV+=	CC=${CC} CXX=${CXX} CPP=${CPP}
106
.endif
107
91
108
.if ${ARCH} == powerpc64
92
.if ${ARCH} == powerpc64
109
CFLAGS+=	-mminimal-toc
93
CFLAGS+=	-mminimal-toc
Lines 111-116 Link Here
111
95
112
.include <bsd.port.pre.mk>
96
.include <bsd.port.pre.mk>
113
97
98
.if ${CHOSEN_COMPILER_TYPE} == clang
99
CXXFLAGS+=	-Qunused-arguments
100
.endif
101
114
.if ${PERL_LEVEL} >= 501400
102
.if ${PERL_LEVEL} >= 501400
115
BUILD_DEPENDS+=	p5-Switch>0:${PORTSDIR}/lang/p5-Switch
103
BUILD_DEPENDS+=	p5-Switch>0:${PORTSDIR}/lang/p5-Switch
116
.endif
104
.endif

Return to bug 196031