freebsd-ports/lang/ruby22/files/patch-Makefile.in
Steve Wills 83c1767ceb lang/ruby22: update to 2.2.1
PR:		198338
Submitted by:	Yasuhiro KIMURA <freebsd.org@pob01.utahime.jp>
2015-03-09 13:30:51 +00:00

20 lines
893 B
Text

--- Makefile.in.orig 2015-02-22 17:12:34.000000000 +0900
+++ Makefile.in 2015-03-06 07:19:45.957608168 +0900
@@ -376,7 +376,7 @@
.d.h:
@$(ECHO) translating probes $<
- $(Q) $(DTRACE) -o $@.tmp -h -C $(INCFLAGS) -s $<
+ $(Q) $(DTRACE) -xnolibs -o $@.tmp -h -C $(INCFLAGS) -s $<
$(Q) sed -e 's/RUBY_/RUBY_DTRACE_/g' -e 's/PROBES_H_TMP/PROBES_H/g' -e 's/(char \*/(const char */g' -e 's/, char \*/, const char */g' $@.tmp > $@
$(Q) $(RM) $@.tmp
@@ -395,7 +395,7 @@
probes.@OBJEXT@: $(srcdir)/probes.d probes.stamp
@$(ECHO) processing probes in object files
$(Q) $(RM) $@
- $(Q) $(DTRACE) -G -C $(INCFLAGS) -s $(srcdir)/probes.d -o $@ $(DTRACE_REBUILD_OBJS)
+ $(Q) $(DTRACE) -xnolibs -G -C $(INCFLAGS) -s $(srcdir)/probes.d -o $@ $(DTRACE_REBUILD_OBJS)
# DTrace static library hacks described here:
# http://mail.opensolaris.org/pipermail/dtrace-discuss/2005-August/000207.html