From owner-svn-ports-head@FreeBSD.ORG Mon Dec 30 09:08:13 2013 Return-Path: Delivered-To: svn-ports-head@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 EE44EC7A; Mon, 30 Dec 2013 09:08:13 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BFF7F1786; Mon, 30 Dec 2013 09:08:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBU98DX1037648; Mon, 30 Dec 2013 09:08:13 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBU98Dnl037645; Mon, 30 Dec 2013 09:08:13 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201312300908.rBU98Dnl037645@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 30 Dec 2013 09:08:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338064 - in head/databases/kyototycoon: . 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.17 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: Mon, 30 Dec 2013 09:08:14 -0000 Author: sunpoet Date: Mon Dec 30 09:08:13 2013 New Revision: 338064 URL: http://svnweb.freebsd.org/changeset/ports/338064 Log: - Allow build with clang [1] - Remove explicit -lstdc++ - Bump PORTREVISION for package change Submitted by: vanilla [1] Added: head/databases/kyototycoon/files/ head/databases/kyototycoon/files/patch-ktdbext.h (contents, props changed) Modified: head/databases/kyototycoon/Makefile Modified: head/databases/kyototycoon/Makefile ============================================================================== --- head/databases/kyototycoon/Makefile Mon Dec 30 09:08:08 2013 (r338063) +++ head/databases/kyototycoon/Makefile Mon Dec 30 09:08:13 2013 (r338064) @@ -3,6 +3,7 @@ PORTNAME= kyototycoon PORTVERSION= 0.9.56 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://fallabs.com/${PORTNAME}/pkg/ \ LOCAL/sunpoet @@ -16,19 +17,18 @@ LIB_DEPENDS= libkyotocabinet.so:${PORTSD OPTIONS_DEFINE= DOCS -CONFIGURE_ARGS= --enable-profile --enable-uyield +CONFIGURE_ARGS= --enable-uyield CPPFLAGS+= -fPIC GNU_CONFIGURE= yes MAKE_ARGS= PCDIR=${PREFIX}/libdata/pkgconfig REINPLACE_ARGS= -i '' -USE_GCC= any USE_LDCONFIG= yes USES= gmake pkgconfig .include post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile + @${REINPLACE_CMD} -e 's|-lpthread|-pthread|g; s|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile .if !${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in .endif Added: head/databases/kyototycoon/files/patch-ktdbext.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/kyototycoon/files/patch-ktdbext.h Mon Dec 30 09:08:13 2013 (r338064) @@ -0,0 +1,10 @@ +--- ktdbext.h.orig 2012-05-25 01:44:34.000000000 +0800 ++++ ktdbext.h 2013-12-28 01:21:30.081508681 +0800 +@@ -16,6 +16,7 @@ + #ifndef _KTDBEXT_H // duplication check + #define _KTDBEXT_H + ++#include + #include + #include + #include