From owner-svn-ports-head@FreeBSD.ORG Wed Jun 18 12:23:55 2014 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 3BE37156; Wed, 18 Jun 2014 12:23:55 +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 28F002B80; Wed, 18 Jun 2014 12:23:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5ICNtVU029096; Wed, 18 Jun 2014 12:23:55 GMT (envelope-from grembo@svn.freebsd.org) Received: (from grembo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5ICNsPb029089; Wed, 18 Jun 2014 12:23:54 GMT (envelope-from grembo@svn.freebsd.org) Message-Id: <201406181223.s5ICNsPb029089@svn.freebsd.org> From: Michael Gmelin Date: Wed, 18 Jun 2014 12:23:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358264 - in head/net-p2p/linuxdcpp: . files 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.18 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: Wed, 18 Jun 2014 12:23:55 -0000 Author: grembo Date: Wed Jun 18 12:23:54 2014 New Revision: 358264 URL: http://svnweb.freebsd.org/changeset/ports/358264 QAT: https://qat.redports.org/buildarchive/r358264/ Log: Fix port so it builds again. Did some minor housekeeping while being there. PR: 190600 Reviewed by: bapt Approved by: bapt Added: head/net-p2p/linuxdcpp/files/patch-BufferSocket.cpp (contents, props changed) Modified: head/net-p2p/linuxdcpp/Makefile head/net-p2p/linuxdcpp/files/patch-SConstruct head/net-p2p/linuxdcpp/pkg-plist Modified: head/net-p2p/linuxdcpp/Makefile ============================================================================== --- head/net-p2p/linuxdcpp/Makefile Wed Jun 18 12:23:46 2014 (r358263) +++ head/net-p2p/linuxdcpp/Makefile Wed Jun 18 12:23:54 2014 (r358264) @@ -13,9 +13,8 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:${PORTSDIR}/devel/boost-libs -USE_BZIP2= yes USE_GNOME= libglade2 -USES= iconv pkgconfig scons +USES= iconv pkgconfig scons tar:bzip2 USE_OPENSSL= yes PORTDOCS= * DESTDIRNAME= FAKE_ROOT @@ -27,16 +26,18 @@ OPTIONS_DEFAULT=NOTIFY MAKE_ARGS+= debug=1 .endif -.include +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -.if ${PORT_OPTIONS:MNOTIFY} -LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify -.else -MAKE_ARGS+= libnotify=0 -.endif +NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify +NOTIFY_MAKE_ARGS_OFF= libnotify=0 post-patch: @${REINPLACE_CMD} -e "s/'iconv'/'${ICONV_LIB:S/-l//}'/" \ ${WRKSRC}/SConstruct + @${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/SConstruct + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Added: head/net-p2p/linuxdcpp/files/patch-BufferSocket.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/linuxdcpp/files/patch-BufferSocket.cpp Wed Jun 18 12:23:54 2014 (r358264) @@ -0,0 +1,11 @@ +--- dcpp/BufferedSocket.cpp.orig 2014-06-18 00:29:48.737534795 +0200 ++++ dcpp/BufferedSocket.cpp 2011-04-17 19:57:09.000000000 +0200 +@@ -478,7 +478,7 @@ + + void BufferedSocket::addTask(Tasks task, TaskData* data) { + dcassert(task == DISCONNECT || task == SHUTDOWN || task == UPDATED || sock.get()); +- tasks.push_back(make_pair(task, data)); taskSem.signal(); ++ tasks.push_back(make_pair(task, boost::shared_ptr(data))); taskSem.signal(); + } + + } // namespace dcpp Modified: head/net-p2p/linuxdcpp/files/patch-SConstruct ============================================================================== --- head/net-p2p/linuxdcpp/files/patch-SConstruct Wed Jun 18 12:23:46 2014 (r358263) +++ head/net-p2p/linuxdcpp/files/patch-SConstruct Wed Jun 18 12:23:54 2014 (r358264) @@ -17,6 +17,18 @@ BoolVariable('profile', 'Compile the program with profiling information', 0), PathVariable('PREFIX', 'Compile the program with PREFIX as the root for installation', '/usr/local', PathVariable.PathIsDir), ('FAKE_ROOT', 'Make scons install the program under a fake root', '') +@@ -131,7 +131,10 @@ + env['CC'] = os.environ['CC'] + + if os.environ.has_key('CXXFLAGS'): +- env['CPPFLAGS'] = env['CXXFLAGS'] = os.environ['CXXFLAGS'].split() ++ env['CXXFLAGS'] = os.environ['CXXFLAGS'].split() ++ ++if os.environ.has_key('CPPFLAGS'): ++ env['CPPFLAGS'] = os.environ['CPPFLAGS'].split() + + if os.environ.has_key('LDFLAGS'): + env['LINKFLAGS'] = os.environ['LDFLAGS'].split() @@ -139,6 +140,12 @@ if os.environ.has_key('CFLAGS'): env['CFLAGS'] = os.environ['CFLAGS'].split() Modified: head/net-p2p/linuxdcpp/pkg-plist ============================================================================== --- head/net-p2p/linuxdcpp/pkg-plist Wed Jun 18 12:23:46 2014 (r358263) +++ head/net-p2p/linuxdcpp/pkg-plist Wed Jun 18 12:23:54 2014 (r358264) @@ -125,5 +125,3 @@ share/locale/tr/LC_MESSAGES/libdcpp.mo share/locale/uk/LC_MESSAGES/libdcpp.mo share/locale/zh_CN/LC_MESSAGES/libdcpp.mo share/locale/zh_TW/LC_MESSAGES/libdcpp.mo -@dirrmtry share/locale/km/LC_MESSAGES -@dirrmtry share/locale/km