Changeset View
Changeset View
Standalone View
Standalone View
lang/libobjc2/Makefile
Show All 14 Lines | |||||
USES= cmake tar:bzip2 | USES= cmake tar:bzip2 | ||||
BROKEN_powerpc= Does not compile on powerpc: Unsupported relocation type 10 | BROKEN_powerpc= Does not compile on powerpc: Unsupported relocation type 10 | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
_CLANG!= if [ -f /usr/bin/clang ] ; then /usr/bin/clang --version | head -1 | \ | _CLANG!= if [ -f /usr/bin/clang ] ; then /usr/bin/clang --version | head -1 | \ | ||||
${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' ; else ${ECHO} 0 ; fi | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' ; else ${ECHO} 0 ; fi | ||||
.if ${_CLANG} < 33 | .if ${_CLANG} < 34 | ||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/clang34:${PORTSDIR}/lang/clang34 | BUILD_DEPENDS+= ${LOCALBASE}/bin/clang34:${PORTSDIR}/lang/clang34 | ||||
CC= ${LOCALBASE}/bin/clang34 | CC= ${LOCALBASE}/bin/clang34 | ||||
CXX= ${LOCALBASE}/bin/clang++34 | CXX= ${LOCALBASE}/bin/clang++34 | ||||
.else | .else | ||||
CC= /usr/bin/clang | CC= /usr/bin/clang | ||||
CXX= /usr/bin/clang++ | CXX= /usr/bin/clang++ | ||||
.endif | .endif | ||||
Show All 29 Lines |