From owner-svn-ports-head@FreeBSD.ORG Mon Dec 30 09:08:09 2013 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 8A387C79; Mon, 30 Dec 2013 09:08:09 +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 5B3C81785; Mon, 30 Dec 2013 09:08:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBU989A7037555; Mon, 30 Dec 2013 09:08:09 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBU988r3037551; Mon, 30 Dec 2013 09:08:08 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201312300908.rBU988r3037551@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 30 Dec 2013 09:08:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338063 - in head/databases/kyotocabinet: . 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:09 -0000 Author: sunpoet Date: Mon Dec 30 09:08:08 2013 New Revision: 338063 URL: http://svnweb.freebsd.org/changeset/ports/338063 Log: - Allow build with clang [1] - Remove explicit -lstdc++ - Bump PORTREVISION for package change Submitted by: vanilla [1] Added: head/databases/kyotocabinet/files/ head/databases/kyotocabinet/files/patch-kccommon.h (contents, props changed) Modified: head/databases/kyotocabinet/Makefile Modified: head/databases/kyotocabinet/Makefile ============================================================================== --- head/databases/kyotocabinet/Makefile Mon Dec 30 08:45:30 2013 (r338062) +++ head/databases/kyotocabinet/Makefile Mon Dec 30 09:08:08 2013 (r338063) @@ -3,6 +3,7 @@ PORTNAME= kyotocabinet PORTVERSION= 1.2.76 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://fallabs.com/${PORTNAME}/pkg/ \ LOCAL/sunpoet @@ -18,7 +19,6 @@ CPPFLAGS+= -fPIC GNU_CONFIGURE= yes MAKE_ARGS= PCDIR=${PREFIX}/libdata/pkgconfig REINPLACE_ARGS= -i '' -USE_GCC= any USE_LDCONFIG= yes USES= gmake @@ -28,6 +28,7 @@ NOT_FOR_ARCHS_REASON= does not link .include post-patch: + @${REINPLACE_CMD} -e 's|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile ${WRKSRC}/lab/kcdict/Makefile .if !${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in .endif Added: head/databases/kyotocabinet/files/patch-kccommon.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/kyotocabinet/files/patch-kccommon.h Mon Dec 30 09:08:08 2013 (r338063) @@ -0,0 +1,11 @@ +--- kccommon.h.orig 2012-05-25 00:27:59.000000000 +0800 ++++ kccommon.h 2013-12-28 01:25:49.838357594 +0800 +@@ -82,7 +82,7 @@ + using ::snprintf; + } + +-#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER) ++#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER) || defined(_LIBCPP_VERSION) + + #include + #include