From owner-svn-ports-head@FreeBSD.ORG Fri Dec 27 02:16:29 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 1FA60220; Fri, 27 Dec 2013 02:16:29 +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 0BC6414A0; Fri, 27 Dec 2013 02:16:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBR2GS4I091981; Fri, 27 Dec 2013 02:16:28 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBR2GSvX091979; Fri, 27 Dec 2013 02:16:28 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201312270216.rBR2GSvX091979@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Fri, 27 Dec 2013 02:16:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337638 - 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: Fri, 27 Dec 2013 02:16:29 -0000 Author: sunpoet Date: Fri Dec 27 02:16:28 2013 New Revision: 337638 URL: http://svnweb.freebsd.org/changeset/ports/337638 Log: - Use USE_GCC=any - Change -lpthread to -pthread - Strip binary executable and shared library - Use NOT_FOR_ARCHS - Remove outdated ARCH check and pkg-message - Support STAGEDIR Deleted: head/databases/kyotocabinet/files/ Modified: head/databases/kyotocabinet/Makefile head/databases/kyotocabinet/pkg-plist (contents, props changed) Modified: head/databases/kyotocabinet/Makefile ============================================================================== --- head/databases/kyotocabinet/Makefile Fri Dec 27 02:16:24 2013 (r337637) +++ head/databases/kyotocabinet/Makefile Fri Dec 27 02:16:28 2013 (r337638) @@ -14,57 +14,36 @@ LICENSE= GPLv3 OPTIONS_DEFINE= DOCS +CPPFLAGS+= -fPIC GNU_CONFIGURE= yes -MAKE_ARGS= PCDIR="${PREFIX}/libdata/pkgconfig" +MAKE_ARGS= PCDIR=${PREFIX}/libdata/pkgconfig +REINPLACE_ARGS= -i '' +USE_GCC= any USE_LDCONFIG= yes USES= gmake -MAN1= kccachetest.1 \ - kcdirmgr.1 \ - kcdirtest.1 \ - kcforestmgr.1 \ - kcforesttest.1 \ - kcgrasstest.1 \ - kchashmgr.1 \ - kchashtest.1 \ - kclangctest.1 \ - kcpolymgr.1 \ - kcpolytest.1 \ - kcprototest.1 \ - kcstashtest.1 \ - kctreemgr.1 \ - kctreetest.1 \ - kcutilmgr.1 \ - kcutiltest.1 +NOT_FOR_ARCHS= powerpc +NOT_FOR_ARCHS_REASON= does not link -NO_STAGE= yes .include -.if ${ARCH} == "i386" && !defined(CPUTYPE) -CONFIGURE_TARGET= i586-portbld-freebsd${OSREL} -CPUTYPE= i586 -PKGMESSAGE= ${FILESDIR}/pkg-message.${ARCH} -# _CPUCFLAGS will somehow show up twice in CFLAGS but who cares.. -.include -.endif - -.if ${ARCH} == "powerpc" -BROKEN= Does not link on powerpc -.endif - post-patch: .if !${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in .endif +post-build: + @cd ${WRKSRC}/ && ${STRIP_CMD} libkyotocabinet.so.16.13.0 kccachetest \ + kcdirmgr kcdirtest kcforestmgr kcforesttest kcgrasstest \ + kchashmgr kchashtest kclangctest kcpolymgr kcpolytest \ + kcprototest kcstashtest kctreemgr kctreetest kcutilmgr \ + kcutiltest + post-install: .if ${PORT_OPTIONS:MDOCS} - ${FIND} ${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \; - ${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \; - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}/ -.endif -.if exists(${PKGMESSAGE}) - @${CAT} ${PKGMESSAGE} + ${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \; + ${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \; + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}/ .endif .include Modified: head/databases/kyotocabinet/pkg-plist ============================================================================== --- head/databases/kyotocabinet/pkg-plist Fri Dec 27 02:16:24 2013 (r337637) +++ head/databases/kyotocabinet/pkg-plist Fri Dec 27 02:16:28 2013 (r337638) @@ -39,6 +39,23 @@ lib/libkyotocabinet.so lib/libkyotocabinet.so.16 lib/libkyotocabinet.so.16.13.0 libdata/pkgconfig/kyotocabinet.pc +man/man1/kccachetest.1.gz +man/man1/kcdirmgr.1.gz +man/man1/kcdirtest.1.gz +man/man1/kcforestmgr.1.gz +man/man1/kcforesttest.1.gz +man/man1/kcgrasstest.1.gz +man/man1/kchashmgr.1.gz +man/man1/kchashtest.1.gz +man/man1/kclangctest.1.gz +man/man1/kcpolymgr.1.gz +man/man1/kcpolytest.1.gz +man/man1/kcprototest.1.gz +man/man1/kcstashtest.1.gz +man/man1/kctreemgr.1.gz +man/man1/kctreetest.1.gz +man/man1/kcutilmgr.1.gz +man/man1/kcutiltest.1.gz %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/FOSSEXCEPTION