svn commit: r346582 - head/devel/dotconf++
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Feb 28 23:25:00 UTC 2014
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 at 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>
More information about the svn-ports-all
mailing list