devel/ruby-tzfile does not please portlint. This is the 15th in a series of patches to make ports please portlint. How-To-Repeat: N/A
Responsible Changed From-To: freebsd-ports-bugs->knu Over to maintainer
At Wed, 14 Jul 2004 06:43:08 GMT, Erwin Lansing wrote: > Synopsis: Please portlint [devel/ruby-tzfile] No, this is and all these are intentional. RUBY_RD_HTML_FILES in the DOCS definition is only defined when bsd.ruby.mk is loaded (from within bsd.port.mk), and as the .for loop is immediately evaluated, you cannot put it before loading bsd.port.mk. -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "It seems to me as we make our own few circles 'round the sun We get it backwards and our seven years go by like one"
But of course it can be resolved with this patch: diff -u -r1.7 Makefile --- Makefile 18 Feb 2003 05:04:59 -0000 1.7 +++ Makefile 13 Dec 2004 00:26:14 -0000 @@ -26,13 +26,13 @@ DOCS= ${RUBY_RD_HTML_FILES} +.include <bsd.port.pre.mk> + do-install: ${INSTALL_DATA} ${WRKSRC}/tzfile.rb ${RUBY_SITELIBDIR}/ post-install: doc-install -.include <bsd.port.mk> - doc-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR} @@ -40,3 +40,5 @@ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ .endfor .endif + +.include <bsd.port.post.mk> It gives the same result as the previous one gave: [/usr/home/edwin/cvs/ports/devel/ruby-tzfile] root@k7>RUBY_RD_HTML=1 make doc-install /bin/mkdir -p /usr/local/share/doc/ruby18/tzfile install -o root -g wheel -m 444 /usr/home/edwin/cvs/ports/devel/ruby-tzfile/work/tzfile/tzfile.html /usr/local/share/doc/ruby18/tzfile/ Please let me know if you agree with this and I'll commit it in all the provided PRs: o 2004/07/14 ports/69027 Please portlint [archivers/ruby-bz2] o 2004/07/14 ports/69028 Please portlint [devel/ruby-cache] o 2004/07/14 ports/69029 Please portlint [devel/ruby-cvs] o 2004/07/14 ports/69030 Please portlint [devel/ruby-filemagic] o 2004/07/14 ports/69031 Please portlint [devel/ruby-gemfinder] o 2004/07/14 ports/69032 Please portlint [devel/ruby-gettext] o 2004/07/14 ports/69033 Please portlint [devel/ruby-mmap] o 2004/07/14 ports/69034 Please portlint [devel/ruby-sdl] o 2004/07/14 ports/69035 Please portlint [devel/ruby-sysvipc] o 2004/07/14 ports/69036 Please portlint [comms/ruby-termios] o 2004/07/14 ports/69037 Please portlint [devel/ruby-tzfile] -- Edwin Groothuis edwin@freebsd.org http://www.mavetju.org
On Mon, Dec 13, 2004 at 11:29:09AM +1100, Edwin Groothuis wrote: > But of course it can be resolved with this patch: > > diff -u -r1.7 Makefile > --- Makefile 18 Feb 2003 05:04:59 -0000 1.7 > +++ Makefile 13 Dec 2004 00:26:14 -0000 > @@ -26,13 +26,13 @@ > > DOCS= ${RUBY_RD_HTML_FILES} > > +.include <bsd.port.pre.mk> > + > do-install: > ${INSTALL_DATA} ${WRKSRC}/tzfile.rb ${RUBY_SITELIBDIR}/ > > post-install: doc-install > > -.include <bsd.port.mk> > - > doc-install: > .if !defined(NOPORTDOCS) > ${MKDIR} ${RUBY_MODDOCDIR} > @@ -40,3 +40,5 @@ > ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ > .endfor > .endif > + > +.include <bsd.port.post.mk> > > It gives the same result as the previous one gave: > > [/usr/home/edwin/cvs/ports/devel/ruby-tzfile] root@k7>RUBY_RD_HTML=1 make doc-install > /bin/mkdir -p /usr/local/share/doc/ruby18/tzfile > install -o root -g wheel -m 444 /usr/home/edwin/cvs/ports/devel/ruby-tzfile/work/tzfile/tzfile.html /usr/local/share/doc/ruby18/tzfile/ > > Please let me know if you agree with this and I'll commit it in all > the provided PRs: > > o 2004/07/14 ports/69027 Please portlint [archivers/ruby-bz2] > o 2004/07/14 ports/69028 Please portlint [devel/ruby-cache] > o 2004/07/14 ports/69029 Please portlint [devel/ruby-cvs] > o 2004/07/14 ports/69030 Please portlint [devel/ruby-filemagic] > o 2004/07/14 ports/69031 Please portlint [devel/ruby-gemfinder] > o 2004/07/14 ports/69032 Please portlint [devel/ruby-gettext] > o 2004/07/14 ports/69033 Please portlint [devel/ruby-mmap] > o 2004/07/14 ports/69034 Please portlint [devel/ruby-sdl] > o 2004/07/14 ports/69035 Please portlint [devel/ruby-sysvipc] > o 2004/07/14 ports/69036 Please portlint [comms/ruby-termios] > o 2004/07/14 ports/69037 Please portlint [devel/ruby-tzfile] Yes, please commit - and thank you. -- WXS
State Changed From-To: open->closed Committed, thanks!