From owner-svn-ports-branches@FreeBSD.ORG Thu Mar 6 16:43:24 2014 Return-Path: Delivered-To: svn-ports-branches@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 EF3FB66B; Thu, 6 Mar 2014 16:43:23 +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 D022BBE3; Thu, 6 Mar 2014 16:43:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s26GhNbE092347; Thu, 6 Mar 2014 16:43:23 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s26GhN1F092345; Thu, 6 Mar 2014 16:43:23 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201403061643.s26GhN1F092345@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Thu, 6 Mar 2014 16:43:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r347275 - branches/2014Q1/databases/kyototycoon X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 16:43:24 -0000 Author: sunpoet Date: Thu Mar 6 16:43:23 2014 New Revision: 347275 URL: http://svnweb.freebsd.org/changeset/ports/347275 QAT: https://qat.redports.org/buildarchive/r347275/ Log: MFH: r337639 - Use USE_GCC=any - Add missing USES=pkgconfig - Remove deprecated PTHREAD_* - Strip binary executable and shared library - Support STAGEDIR Approved by: portmgr (mat, via IRC) Modified: branches/2014Q1/databases/kyototycoon/Makefile branches/2014Q1/databases/kyototycoon/pkg-plist (contents, props changed) Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/databases/kyototycoon/Makefile ============================================================================== --- branches/2014Q1/databases/kyototycoon/Makefile Thu Mar 6 16:40:56 2014 (r347274) +++ branches/2014Q1/databases/kyototycoon/Makefile Thu Mar 6 16:43:23 2014 (r347275) @@ -17,39 +17,35 @@ LIB_DEPENDS= libkyotocabinet.so:${PORTSD OPTIONS_DEFINE= DOCS CONFIGURE_ARGS= --enable-profile --enable-uyield +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 +USES= gmake pkgconfig -MAN1= ktremotemgr.1 \ - ktremotetest.1 \ - ktserver.1 \ - kttimedmgr.1 \ - kttimedtest.1 \ - ktutilmgr.1 \ - ktutilserv.1 \ - ktutiltest.1 - -NO_STAGE= yes -.include +.include post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile .if !${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in .endif -post-configure: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile +post-build: + @cd ${WRKSRC}/ && ${STRIP_CMD} ktplugdbvoid.so ktplugservmemc.so \ + ktremotemgr ktremotetest ktserver kttimedmgr kttimedtest \ + ktutilmgr ktutilserv ktutiltest 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}/ + ${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} 755 '{}' \; + ${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} 444 '{}' \; + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}/ .endif regression-test test: build cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check -.include +.include Modified: branches/2014Q1/databases/kyototycoon/pkg-plist ============================================================================== --- branches/2014Q1/databases/kyototycoon/pkg-plist Thu Mar 6 16:40:56 2014 (r347274) +++ branches/2014Q1/databases/kyototycoon/pkg-plist Thu Mar 6 16:43:23 2014 (r347275) @@ -23,6 +23,14 @@ lib/libkyototycoon.a libdata/pkgconfig/kyototycoon.pc libexec/ktplugdbvoid.so libexec/ktplugservmemc.so +man/man1/ktremotemgr.1.gz +man/man1/ktremotetest.1.gz +man/man1/ktserver.1.gz +man/man1/kttimedmgr.1.gz +man/man1/kttimedtest.1.gz +man/man1/ktutilmgr.1.gz +man/man1/ktutilserv.1.gz +man/man1/ktutiltest.1.gz %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/doc/api/annotated.html