freebsd-ports/sysutils/lttng-ust/files/patch-tests_ust-elf_Makefile.am
Mahdi Mokhtari a8416c340c Adding sysutils/lttng-ust and sysutils/lttng-tools.
LTTng stands for Linux Trace Toolkit: next generation. It's a modern toolkit
for tracing Linux (And now FreeBSD, only userspace now) programs.

PR:		216142
Submitted by:	mmokhi
Reported by:	mmokhi
Reviewed by:	feld, mat
Approved by:	feld, mat (mentors)
Differential Revision:	https://reviews.freebsd.org/D9200
2017-02-11 15:36:17 +00:00

11 lines
416 B
Text

--- tests/ust-elf/Makefile.am.orig 2016-10-18 22:44:06 UTC
+++ tests/ust-elf/Makefile.am
@@ -23,6 +23,6 @@ EXTRA_DIST = test_ust_elf.in \
$(srcdir)/data/pic/hello.c \
$(srcdir)/data/pic/libhello.c
-$(noinst_SCRIPTS): %: %.in
- sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $< > $@
+$(noinst_SCRIPTS): $(noinst_SCRIPTS).in *
+ sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $(noinst_SCRIPTS).in > $@
chmod +x $@