ports/lang/ruby23/files/patch-Makefile.in
Martin Wilke d8a0fd4d38 - Update ruby
lang/ruby22 -> 2.2.7
lang/ruby23 -> 2.3.4

PR:		218864
Reviewed by:	swills
Exp-Run:        antoine
Approved by:	portmgr (swills,antoine)
Differential Revision:	https://reviews.freebsd.org/D10506
2017-04-28 02:31:58 +00:00

20 lines
943 B
Text

--- Makefile.in.orig 2016-01-21 07:41:11 UTC
+++ Makefile.in
@@ -388,7 +388,7 @@ enc/jis/props.h: enc/jis/props.kwd
.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/RUBY_PROBES_H/' -e 's/(char \*/(const char */g' -e 's/, char \*/, const char */g' $@.tmp > $@
$(Q) $(RM) $@.tmp
@@ -407,7 +407,7 @@ probes.stamp: $(DTRACE_REBUILD_OBJS)
probes.@OBJEXT@: $(srcdir)/probes.d $(DTRACE_REBUILD:yes=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