Fwd: Re: rdoc + ruby 1.9

Philip M. Gollucci pgollucci at p6m7g8.com
Thu Jul 14 15:52:06 UTC 2011


back to the list

-------- Original Message --------
Subject: Re: rdoc + ruby 1.9
Date: Tue, 12 Jul 2011 22:22:52 -0400
From: Philip M. Gollucci <pgollucci at taximagic.com>
Organization: P6M7G8 Inc.
To: Steve Wills <swills at FreeBSD.org>
CC: Philip Gollucci <pgollucci at FreeBSD.org>

On 7/12/11 9:53 PM, Steve Wills wrote:
> found that I couldn't install the rubygem-rdoc port without it failing
> once, then running make install a second time which would succeed.
Yes, I know I wa thinking we should override the do-install and simply
have it run it twice and ignore the return values ala a '-' to whatever
command fails.

do-install: install1 install2

then inline do-install as install1 and install2 in the rubygem-doc port.
 I know its ugly, but I can't think of anything else.

>
> So, I gave up on the idea of not including rdoc with ruby19. Which leads
> me back to getting the rdoc port to work with 1.9. But, it overwrites
> rdoc and ri, as noted here:
Yes again, I know.  We need to add the --format-executables to the GEM
command in bsd.ruby.mk, but thats going to require make magic via C:
flags to fix the PLIST_FILES.  Ordering is important too, and there
might be a chicken-in-egg problem there with bsd.port.mk.  The other
much less glorious route would be to use %%VER%% in PLIST_FILES in the
individual ports.




-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



More information about the freebsd-ruby mailing list