Date: Sun, 30 Mar 2014 22:10:10 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349687 - head/textproc/libmwaw Message-ID: <201403302210.s2UMAA1i004219@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> +.include <bsd.port.pre.mk> + +.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 <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403302210.s2UMAA1i004219>