svn commit: r321732 - head/devel/py-dbus

poyopoyo at puripuri.plala.or.jp poyopoyo at puripuri.plala.or.jp
Sat Jun 29 15:41:53 UTC 2013


At Tue, 25 Jun 2013 11:09:26 +0000 (UTC),
Koop Mast wrote:
>  post-patch:
> -.if defined(NOPORTDOCS)
> +.if ! ${PORT_OPTIONS:MHTMLDOCS}
>  	@${REINPLACE_CMD} -e 's|HEADERS install-dist_docDATA|HEADERS|g ; \
>  		s|PYTHON install-nodist_docDATA|PYTHON|g' \
>  			${WRKSRC}/Makefile.in

===>   Registering installation for py27-dbus-1.1.1
===>  Building package for py27-dbus-1.1.1
tar: share/doc/py-dbus/API_CHANGES.txt: Cannot stat: No such file or directory
tar: share/doc/py-dbus/HACKING.txt: Cannot stat: No such file or directory
tar: share/doc/py-dbus/NEWS: Cannot stat: No such file or directory
tar: share/doc/py-dbus/PY3PORT.txt: Cannot stat: No such file or directory
tar: share/doc/py-dbus/README: Cannot stat: No such file or directory
tar: share/doc/py-dbus/tutorial.txt: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1


replacing NOPORTDOCS with HTMLDOCS is wrong and breaks package.

Index: Makefile
===================================================================
--- Makefile	(revision 322049)
+++ Makefile	(working copy)
@@ -39,7 +39,7 @@
 .endif
 
 post-patch:
-.if ! ${PORT_OPTIONS:MHTMLDOCS}
+.if ! ${PORT_OPTIONS:MDOCS}
 	@${REINPLACE_CMD} -e 's|HEADERS install-dist_docDATA|HEADERS|g ; \
 		s|PYTHON install-nodist_docDATA|PYTHON|g' \
 			${WRKSRC}/Makefile.in

-- 
kuro


More information about the svn-ports-all mailing list