diff options
| author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-02-28 23:24:59 +0000 |
|---|---|---|
| committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-02-28 23:24:59 +0000 |
| commit | f71856690663be97f52c087e275f98252bcfb3e6 (patch) | |
| tree | 2fa91a5e63320707a19186aa90158bb4e6387320 | |
| parent | Forced commit to note that the previous commit (revision 346580) also (diff) | |
- Fix build with clang
Notes
Notes:
svn path=/head/; revision=346582
| -rw-r--r-- | devel/dotconf++/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/dotconf++/Makefile b/devel/dotconf++/Makefile index 04527b55c362..2682ec94f118 100644 --- a/devel/dotconf++/Makefile +++ b/devel/dotconf++/Makefile @@ -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> |
