svn commit: r327935 - head/sysutils/fusefs-libs
Guido Falsi
madpilot at FreeBSD.org
Mon Sep 23 12:08:42 UTC 2013
On 09/23/13 08:18, Baptiste Daroussin wrote:
> Author: bapt
> Date: Mon Sep 23 06:18:37 2013
> New Revision: 327935
> URL: http://svnweb.freebsd.org/changeset/ports/327935
>
> Log:
> Use stage, convert TEXT_DOCS to PORTDOCS
>
> Modified:
> head/sysutils/fusefs-libs/Makefile
> head/sysutils/fusefs-libs/pkg-plist
>
> Modified: head/sysutils/fusefs-libs/Makefile
> ==============================================================================
> --- head/sysutils/fusefs-libs/Makefile Mon Sep 23 06:17:32 2013 (r327934)
> +++ head/sysutils/fusefs-libs/Makefile Mon Sep 23 06:18:37 2013 (r327935)
> @@ -19,24 +19,16 @@ USE_LDCONFIG= yes
> USES= iconv
> CONFIGURE_ARGS= --prefix=${PREFIX} \
> --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
> -TXT_DOCS= how-fuse-works \
> +PORTDOCS= how-fuse-works \
> kernel.txt
[...]
>
> post-install:
> - ${INSTALL_DATA} ${WRKSRC}/include/fuse_kernel.h ${PREFIX}/include/fuse
> + ${INSTALL_DATA} ${WRKSRC}/include/fuse_kernel.h ${STAGEDIR}${PREFIX}/include/fuse
> .if ${PORT_OPTIONS:MDOCS}
> - @${MKDIR} ${DOCSDIR}/libs
> -.for i in ${TXT_DOCS}
> - @${INSTALL_DATA} ${WRKSRC}/doc/$i ${DOCSDIR}/libs
> -.endfor
> + @${MKDIR} ${STAGEDIR}${DOCSDIR}/libs
> + @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/libs
> .endif
[...]
> -%%PORTDOCS%%%%DOCSDIR%%/libs/how-fuse-works
> -%%PORTDOCS%%%%DOCSDIR%%/libs/kernel.txt
This part is creating a problem. the pkg tools look for these two files
in DOCSDIR, not in DOCSDIR/libs, packaging fails on head.
Attached patch fixes it.
--
Guido Falsi <madpilot at FreeBSD.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fusefs-libs.diff
Type: text/x-diff
Size: 743 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20130923/104a3f7d/attachment.diff>
More information about the svn-ports-head
mailing list