Index: Makefile =================================================================== RCS file: /home/ncvs/ports/emulators/dosbox/Makefile,v retrieving revision 1.27 diff -u -r1.27 Makefile --- Makefile 21 Oct 2011 16:02:30 -0000 1.27 +++ Makefile 17 Jan 2012 15:01:13 -0000 @@ -27,6 +27,10 @@ CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+= --enable-core-inline +.if ${CXX:T:M*clang*} +CFLAGS:= ${CFLAGS:C/-O.?/-O0/g} +.endif + post-patch: @${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \ ${WRKSRC}/docs/dosbox.1