Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 10:00:32 GMT
From:      IWATSUKI Hiroyuki <don@na.rim.or.jp>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/87704: lang/ruby18 - Build fails, WITH_ONIGURUMA & BATCH seem mutually exclusive
Message-ID:  <200510201000.j9KA0WYK080221@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/87704; it has been noted by GNATS.

From: IWATSUKI Hiroyuki <don@na.rim.or.jp>
To: bug-followup@FreeBSD.org, parv@pair.com
Cc:  
Subject: Re: ports/87704: lang/ruby18 - Build fails, WITH_ONIGURUMA & BATCH
 seem mutually exclusive
Date: Thu, 20 Oct 2005 18:52:59 +0900

 This is a multi-part message in MIME format.
 --------------090103000408010700090608
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hi,
 
 Perhaps, following patch is fixed this bug.
 
 Details(in Japanese):
 http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/25781?25722-26278
 
 Thanks,
 -- 
 Hiroyuki Iwatsuki <URL:mailto:don@na.rim.or.jp>
 
 
 --------------090103000408010700090608
 Content-Type: text/plain;
  name="patch-ext+extmk.rb"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="patch-ext+extmk.rb"
 
 Index: ext/extmk.rb
 ===================================================================
 RCS file: /home/don/ruby/cvs/src/ruby/ext/extmk.rb,v
 retrieving revision 1.44.2.8
 retrieving revision 1.44.2.9
 diff -u -p -r1.44.2.8 -r1.44.2.9
 --- ext/extmk.rb	6 Feb 2005 15:13:50 -0000	1.44.2.8
 +++ ext/extmk.rb	2 Mar 2005 10:53:20 -0000	1.44.2.9
 @@ -157,6 +157,10 @@ def parse_args()
      grep(/\A-(?!-).*#{'%c' % flag}/i) { return true }
      false
    end
 +  def $mflags.defined?(var)
 +    grep(/\A#{var}=(.*)/) {return $1}
 +    false
 +  end
  
    if $mflags.set?(?n)
      $dryrun = true
 @@ -165,7 +169,10 @@ def parse_args()
    end
  
    $continue = $mflags.set?(?k)
 -  $mflags |= ["DESTDIR=#{$destdir}"]
 +  if !$destdir.to_s.empty?
 +    $destdir = File.expand_path($destdir)
 +    $mflags.defined?("DESTDIR") or $mflags << "DESTDIR=#{$destdir}"
 +  end
  end
  
  parse_args()
 
 
 --------------090103000408010700090608--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510201000.j9KA0WYK080221>