--- Makefile.new 2013-01-27 16:18:00.000000000 +0100 +++ Makefile.new 2013-01-27 16:17:51.000000000 +0100 @@ -60,6 +60,9 @@ post-patch: ${REINPLACE_CMD} -e 's,PREFIX,${PREFIX},g' ${WRKSRC}/platform_build/linux_ant/build.xml +.if defined(WITHOUT_GCC) + ${REINPLACE_CMD} -e '/executable/s/gcc/clang/g' ${WRKSRC}/platform_build/linux_ant/build.xml +.endif do-install: @${ECHO_MSG} -n ">> Install JAR files in ${JAVAJARDIR}/${PORTNAME}/ ..."