Changeset View
Changeset View
Standalone View
Standalone View
devel/powerpc64-gcc/Makefile
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | |||||
.endif | .endif | ||||
.if ${TARGETARCH} == "armv6" || ${TARGETARCH} == "aarch64" | .if ${TARGETARCH} == "armv6" || ${TARGETARCH} == "aarch64" | ||||
. if ${COMPILER_TYPE} == clang | . if ${COMPILER_TYPE} == clang | ||||
MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 | MAKE_ARGS+=CXXFLAGS=-fbracket-depth=512 | ||||
. endif | . endif | ||||
.endif | .endif | ||||
.if ${ARCH} == "aarch64" | |||||
PLIST_SUB+= PLUGINS="@comment plugin does not build" | |||||
.else | |||||
PLIST_SUB+= PLUGINS="" | |||||
.endif | |||||
post-install: | post-install: | ||||
.for f in cpp gcov gcov-dump gcov-tool | .for f in cpp gcov gcov-dump gcov-tool | ||||
@if [ -f ${STAGEDIR}${PREFIX}/bin/$f ] ; then \ | @if [ -f ${STAGEDIR}${PREFIX}/bin/$f ] ; then \ | ||||
${MV} ${STAGEDIR}${PREFIX}/bin/$f \ | ${MV} ${STAGEDIR}${PREFIX}/bin/$f \ | ||||
${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-$f ; \ | ${STAGEDIR}${PREFIX}/bin/${GCC_TARGET}-$f ; \ | ||||
fi | fi | ||||
.endfor | .endfor | ||||
.for f in c++ cpp g++ gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool | .for f in c++ cpp g++ gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool | ||||
Show All 11 Lines | .endfor | ||||
@${RM} ${STAGEDIR}${PREFIX}/man/man7/* | @${RM} ${STAGEDIR}${PREFIX}/man/man7/* | ||||
.if empty(PKGNAMEPREFIX:M*-*-) | .if empty(PKGNAMEPREFIX:M*-*-) | ||||
@${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed | @${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed | ||||
.endif | .endif | ||||
.if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "i386" | .if ${TARGETARCH} == "amd64" || ${TARGETARCH} == "i386" | ||||
# Conflicts with sys/x86/include/float.h | # Conflicts with sys/x86/include/float.h | ||||
${RM} ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include/float.h | ${RM} ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include/float.h | ||||
.endif | .endif | ||||
# This port and all its slave ports fail on aarch64 -- but not all | |||||
# the same way. Provide this definition for the master. | |||||
BROKEN_aarch64?= fails to package | |||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |