Date: Thu, 6 Mar 2014 16:43:23 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r347275 - branches/2014Q1/databases/kyototycoon Message-ID: <201403061643.s26GhN1F092345@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> +.include <bsd.port.pre.mk> 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 <bsd.port.mk> +.include <bsd.port.post.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403061643.s26GhN1F092345>