On Thu, Dec 20, 2001 at 04:57:49AM +0900, nobu.nokada / softhome.net wrote: > At Thu, 20 Dec 2001 03:32:29 +0900, > Alexander Bokovoy <a.bokovoy / sam-solutions.net> wrote: > > Don't know how this escaped from mkmf.rb but it misses several DESTDIR > > prefixes in exec_prefix and libdir which particulary insuitable for > > packaging (rpm, deb, ...) of Ruby extensions. > > Since exec_prefix is defaulted to $(prefix), $(exec_prefix) > would be expanded as $(DESTDIR)$(DESTDIR)/prefix. > > If you configured exec_prefix and/or libdir as an absolute path > not relative to $(prefix), you need to specify them simillary > to make. > > $ make DESTDIR=/var/tmp/foo \ > exec_prefix='$(DESTDIR)/exec/prefix' \ > libdir='$(DESTDIR)/lib/dir' \ > site-install > >
> Index: mkmf.rb > =================================================================== > RCS file: /cvs/ruby/src/ruby/lib/mkmf.rb,v > retrieving revision 1.37.2.26 > diff -u -2 -p -r1.37.2.26 mkmf.rb Great! Is this will be added to 1.8? -- / Alexander Bokovoy $ cat /proc/identity >~/.signature `Senior software developer and analyst for SaM-Solutions Ltd.` --- Nov 21 20:58:58 alconost kernel: VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day...