ports/87704: lang/ruby18 - Build fails, WITH_ONIGURUMA & BATCH seem mutually exclusive
IWATSUKI Hiroyuki
don at na.rim.or.jp
Thu Oct 20 10:00:33 UTC 2005
The following reply was made to PR ports/87704; it has been noted by GNATS.
From: IWATSUKI Hiroyuki <don at na.rim.or.jp>
To: bug-followup at FreeBSD.org, parv at 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 at 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--
More information about the freebsd-ports-bugs
mailing list