From owner-svn-ports-head@FreeBSD.ORG Mon Dec 16 00:04:51 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 450A0939; Mon, 16 Dec 2013 00:04:51 +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 312F01EE5; Mon, 16 Dec 2013 00:04:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBG04pET054446; Mon, 16 Dec 2013 00:04:51 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBG04opD054444; Mon, 16 Dec 2013 00:04:50 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201312160004.rBG04opD054444@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 16 Dec 2013 00:04:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336599 - head/devel/loki 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: Mon, 16 Dec 2013 00:04:51 -0000 Author: bapt Date: Mon Dec 16 00:04:50 2013 New Revision: 336599 URL: http://svnweb.freebsd.org/changeset/ports/336599 Log: Support stage Fix build on head Respect CXXFLAGS Modified: head/devel/loki/Makefile head/devel/loki/pkg-descr Modified: head/devel/loki/Makefile ============================================================================== --- head/devel/loki/Makefile Sun Dec 15 23:46:53 2013 (r336598) +++ head/devel/loki/Makefile Mon Dec 16 00:04:50 2013 (r336599) @@ -7,24 +7,29 @@ CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}-lib/Loki/Loki%20${PORTVERSION} MAINTAINER= snnn119@gmail.com -COMMENT= A C++ library of common design patterns +COMMENT= C++ library of common design patterns -USE_DOS2UNIX= yes -USE_GMAKE= yes +USES= gmake dos2unix USE_LDCONFIG= yes +CXXFLAGS+= -Wno-return-type + DOCS= README CHANGES doc/flex/flex_string.html \ doc/yasli/Notes.txt \ doc/yasli/yasli.html -NO_STAGE= yes +post-patch: + @${REINPLACE_CMD} 's/bad_function_call/Loki::bad_function_call/g' \ + ${WRKSRC}/test/Function/FunctionTest.cpp + @${REINPLACE_CMD} -e '/CXXWARNFLAGS/s/$$/ ${CXXFLAGS}/g' \ + -e 's/\$${PREFIX}/$${DESTDIR}$${PREFIX}/g' \ + ${WRKSRC}/Makefile.common + post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} - ${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Modified: head/devel/loki/pkg-descr ============================================================================== --- head/devel/loki/pkg-descr Sun Dec 15 23:46:53 2013 (r336598) +++ head/devel/loki/pkg-descr Mon Dec 16 00:04:50 2013 (r336599) @@ -1,5 +1,4 @@ A C++ library of designs, containing flexible implementations of common design patterns and idioms. - WWW: http://sourceforge.net/projects/loki-lib/