diff options
author | johans <johans@FreeBSD.org> | 2010-09-06 06:20:59 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2010-09-06 06:20:59 +0800 |
commit | 1af932b5c635bb4fb9c00f3c9dea6bfca372ea0d (patch) | |
tree | 17e340194a41f185de2f39e51d09c21f9f928c41 /lang | |
parent | ca47ef632d70923ead08ae8ce2f1d8df3d744cf5 (diff) | |
download | freebsd-ports-graphics-1af932b5c635bb4fb9c00f3c9dea6bfca372ea0d.tar.gz freebsd-ports-graphics-1af932b5c635bb4fb9c00f3c9dea6bfca372ea0d.tar.zst freebsd-ports-graphics-1af932b5c635bb4fb9c00f3c9dea6bfca372ea0d.zip |
Fix generation of broken Makefiles in case a setting occurs multiple
times in the auto-generated config.status file (happens with new m4).
This only fixes a potential build error - no package changes.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby18/files/patch-mkconfig.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/ruby18/files/patch-mkconfig.rb b/lang/ruby18/files/patch-mkconfig.rb new file mode 100644 index 00000000000..0d43b9999bf --- /dev/null +++ b/lang/ruby18/files/patch-mkconfig.rb @@ -0,0 +1,11 @@ +--- mkconfig.rb.orig 2010-09-06 00:14:02.000000000 +0200 ++++ mkconfig.rb 2010-09-06 00:13:56.000000000 +0200 +@@ -88,7 +88,7 @@ + if /^prefix$/ =~ name + val = "(TOPDIR || DESTDIR + #{val})" + end +- v = " CONFIG[\"#{name}\"] #{vars[name] ? '<< "\n"' : '='} #{val}\n" ++ v = " CONFIG[\"#{name}\"] = #{val}\n" + vars[name] = true + if fast[name] + v_fast << v |