svn commit: r327657 - head/ftp/curlpp
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Sep 20 06:34:16 UTC 2013
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 at 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}
More information about the svn-ports-all
mailing list