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

(-)Makefile (-4 / +4 lines)
Lines 347-356 Link Here
347
347
348
.include <bsd.port.pre.mk>
348
.include <bsd.port.pre.mk>
349
349
350
.if defined(WITH_GCC)
350
.if defined(WITH_CLANG)
351
USE_GCC=	4.6+
352
CONFIGURE_ENV+=	CXXCPP="${CPP}"
353
.else
354
.if exists(/usr/bin/clang) && ${OSVERSION} > 901502
351
.if exists(/usr/bin/clang) && ${OSVERSION} > 901502
355
CC=		/usr/bin/clang
352
CC=		/usr/bin/clang
356
CPP=		/usr/bin/clang-cpp
353
CPP=		/usr/bin/clang-cpp
Lines 365-370 Link Here
365
CXX=		${LOCALBASE}/bin/clang++
362
CXX=		${LOCALBASE}/bin/clang++
366
CONFIGURE_ENV+=	CXXCPP="${CXX} -E"
363
CONFIGURE_ENV+=	CXXCPP="${CXX} -E"
367
.endif
364
.endif
365
.else
366
USE_GCC=	4.6+
367
CONFIGURE_ENV+=	CXXCPP="${CPP}"
368
.endif
368
.endif
369
369
370
.if ${OSVERSION} < 900506
370
.if ${OSVERSION} < 900506

Return to bug 176967