Date: Fri, 28 Feb 2014 23:24:59 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346582 - head/devel/dotconf++ Message-ID: <201402282324.s1SNOxHE039647@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Feb 28 23:24:59 2014 New Revision: 346582 URL: http://svnweb.freebsd.org/changeset/ports/346582 QAT: https://qat.redports.org/buildarchive/r346582/ Log: - Fix build with clang Modified: head/devel/dotconf++/Makefile Modified: head/devel/dotconf++/Makefile ============================================================================== --- head/devel/dotconf++/Makefile Fri Feb 28 23:03:41 2014 (r346581) +++ head/devel/dotconf++/Makefile Fri Feb 28 23:24:59 2014 (r346582) @@ -7,16 +7,22 @@ CATEGORIES= devel MASTER_SITES= SF \ http://voodoo.com.ua/dotconfpp/ - MAINTAINER= ports@FreeBSD.org COMMENT= Configuration file parser written in C++ +USES= compiler:env USE_AUTOTOOLS= libtool USE_LDCONFIG= yes +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \ ${WRKSRC}/src/dotconfpp.h ${WRKSRC}/src/mempool.h +.if ${COMPILER_TYPE} == "clang" + @${REINPLACE_CMD} -e 's|-fexpensive-optimizations||' \ + ${WRKSRC}/src/example?/Makefile.in +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402282324.s1SNOxHE039647>