From owner-svn-ports-all@FreeBSD.ORG Sun Mar 30 22:10:10 2014 Return-Path: Delivered-To: svn-ports-all@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 F0D682AD; Sun, 30 Mar 2014 22:10:10 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DE66BFB3; Sun, 30 Mar 2014 22:10:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2UMAA8d004220; Sun, 30 Mar 2014 22:10:10 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2UMAA1i004219; Sun, 30 Mar 2014 22:10:10 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201403302210.s2UMAA1i004219@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 30 Mar 2014 22:10:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349687 - head/textproc/libmwaw X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2014 22:10:11 -0000 Author: bapt Date: Sun Mar 30 22:10:10 2014 New Revision: 349687 URL: http://svnweb.freebsd.org/changeset/ports/349687 QAT: https://qat.redports.org/buildarchive/r349687/ Log: When STL is libc++ use shared pointer from C++11 instead of boost one Modified: head/textproc/libmwaw/Makefile Modified: head/textproc/libmwaw/Makefile ============================================================================== --- head/textproc/libmwaw/Makefile Sun Mar 30 21:59:27 2014 (r349686) +++ head/textproc/libmwaw/Makefile Sun Mar 30 22:10:10 2014 (r349687) @@ -12,7 +12,6 @@ COMMENT= Import library for some old mac LICENSE= LGPL21 MPL LICENSE_COMB= dual -BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs LIB_DEPENDS= libwpd-0.9.so:${PORTSDIR}/textproc/libwpd OPTIONS_DEFINE= DOCS @@ -22,11 +21,19 @@ CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes USE_LDCONFIG= yes -USE_XZ= yes -USES= libtool pkgconfig pathfix +USES= libtool pkgconfig pathfix tar:xz compiler:features PORTDOCS= * DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen DOCS_CONFIGURE_OFF= --without-docs -.include +.include + +.if ${COMPILER_FEATURES:Mlibc++} +CONFIGURE_ARGS= --with-sharedptr=c++11 +.else +BUILD_DEPENDS+= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs +CONFIGURE_ARGS= --with-sharedptr=boost +.endif + +.include