From owner-svn-ports-head@FreeBSD.ORG Fri Feb 28 23:25:00 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2704E976; Fri, 28 Feb 2014 23:25:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 136E714E8; Fri, 28 Feb 2014 23:25:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1SNOxtE039648; Fri, 28 Feb 2014 23:24:59 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1SNOxHE039647; Fri, 28 Feb 2014 23:24:59 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201402282324.s1SNOxHE039647@svn.freebsd.org> From: Dmitry Marakasov Date: Fri, 28 Feb 2014 23:24:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346582 - head/devel/dotconf++ X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 23:25:00 -0000 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 + post-patch: @${REINPLACE_CMD} -e 's|||' \ ${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 +.include