Index: Makefile =================================================================== --- Makefile (revision 522324) +++ Makefile (working copy) @@ -44,6 +44,12 @@ TARGET_ORDER_OVERRIDE= 710:fix-perl-things +.include + +.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2 +CFLAGS+= -mcpu=power7 +.endif + post-configure: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/docs/${PORTNAME}.1 ${WRKSRC}/docs/spmonitor.1 @@ -74,4 +80,4 @@ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtspread.so.1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Spread/Spread.so -.include +.include