Index: x11/polybar/Makefile =================================================================== --- x11/polybar/Makefile +++ x11/polybar/Makefile @@ -15,7 +15,7 @@ BROKEN_armv6= fails to build: KeyError: 'eventstruct' BROKEN_armv7= fails to build: KeyError: 'eventstruct' -BUILD_DEPENDS= xcb-proto>=1.9:x11/xcb-proto +BUILD_DEPENDS+= xcb-proto>=1.9:x11/xcb-proto LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libinotify.so:devel/libinotify \ @@ -63,10 +63,18 @@ MPD_CMAKE_BOOL= ENABLE_MPD MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient -# fail while building on poudriere because it need network access +# fail while building on poudriere because it needs network access # during the building process to download googletest on-the-fly. TESTS_BUILD_DEPENDS= git>=0:devel/git TESTS_CMAKE_BOOL= BUILD_TESTS + +.include +.if ${OSVERSION} > 1300000 +BUILD_DEPENDS+= clang60:devel/llvm60 \ + clang++60:devel/llvm60 +CC= ${LOCALBASE}/bin/clang60 +CXX= ${LOCALBASE}/bin/clang++60 +.endif do-test-TESTS-on: cd ${TEST_WRKSRC} && ${SETENV} BUILD_TESTS=ON \