Date: Fri, 20 Sep 2013 06:34:16 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327657 - head/ftp/curlpp Message-ID: <201309200634.r8K6YGeg033784@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Sep 20 06:34:15 2013 New Revision: 327657 URL: http://svnweb.freebsd.org/changeset/ports/327657 Log: - Fix build without libstdc++ by removing hardcoded libstdc++ linkage [1] - Convert to new LIB_DEPENDS format - Convert to new OPTIONS simplifier Reported by: pkg-fallout [1] Modified: head/ftp/curlpp/Makefile Modified: head/ftp/curlpp/Makefile ============================================================================== --- head/ftp/curlpp/Makefile Fri Sep 20 06:23:33 2013 (r327656) +++ head/ftp/curlpp/Makefile Fri Sep 20 06:34:15 2013 (r327657) @@ -10,7 +10,7 @@ MASTER_SITES= GOOGLE_CODE MAINTAINER= sunpoet@FreeBSD.org COMMENT= C++ wrapper for libcurl -LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl OPTIONS_DEFINE= BOOST DOCS EXAMPELS @@ -21,15 +21,15 @@ LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes USES= pathfix +BOOST_BUILD_DEPENDS= boost-libs>=1.20.0:${PORTSDIR}/devel/boost-libs +BOOST_RUN_DEPENDS= ${BOOST_BUILD_DEPENDS} +BOOST_CONFIGURE_ON= --with-boost=${LOCALBASE} +BOOST_CONFIGURE_OFF= --without-boost + .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MBOOST} -BUILD_DEPENDS+= boost-libs>=1.20.0:${PORTSDIR}/devel/boost-libs -RUN_DEPENDS+= boost-libs>=1.20.0:${PORTSDIR}/devel/boost-libs -CONFIGURE_ARGS+=--with-boost=${LOCALBASE} -.else -CONFIGURE_ARGS+=--without-boost -.endif +post-patch: + @${REINPLACE_CMD} -e 's| -lstdc++||' ${WRKSRC}/configure post-install: .if ${PORT_OPTIONS:MDOCS}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309200634.r8K6YGeg033784>