Index: Makefile =================================================================== --- Makefile (revision 508433) +++ Makefile (working copy) @@ -122,7 +122,7 @@ TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CONFIGURE_WITH= libtiff -.include +.include .if ${PORT_OPTIONS:MPANGO} && ${PORT_OPTIONS:MCAIRO} PLIST_SUB+= PANGOCAIRO="" @@ -135,6 +135,9 @@ ${REINPLACE_CMD} -e "s/lua >/lua-${LUA_VER} >/g" \ -e 's|\(lua\)\(5\.1\)|\1-\2|g ; s|x86_64|amd64|g' \ ${WRKSRC}/configure +.if ${CHOSEN_COMPILER_TYPE} == clang + ${REINPLACE_CMD} -e '/altivec.h/d' ${WRKSRC}/gegl/opencl/cl_platform.h +.endif post-patch-EXAMPLES-off: ${REINPLACE_CMD} -e 's|tools examples|tools|g' \ @@ -147,4 +150,4 @@ ${INSTALL_DATA} ${WRKSRC}/examples/${ex}.c ${STAGEDIR}${EXAMPLESDIR} .endfor -.include +.include