aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessibility/eflite/files/patch-Makefile.in16
1 files changed, 13 insertions, 3 deletions
diff --git a/accessibility/eflite/files/patch-Makefile.in b/accessibility/eflite/files/patch-Makefile.in
index f5ac9ffa523b..bc21e56e1198 100644
--- a/accessibility/eflite/files/patch-Makefile.in
+++ b/accessibility/eflite/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- ./Makefile.in.orig 2007-01-18 19:01:09.000000000 -0500
-+++ ./Makefile.in 2011-05-27 12:55:15.000000000 -0400
-@@ -34,7 +34,7 @@
+--- Makefile.in.orig 2007-01-19 00:01:09.000000000 +0000
++++ Makefile.in
+@@ -34,7 +34,7 @@ eflite: fs.o es.o soccon.o sockopen.o to
$(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS) $(FLITE_LIBS) $(AUDIOLIBS)
fs.o: fs.c
@@ -9,3 +9,13 @@
tone.o: tone.c
$(CC) $(CFLAGS) -I$(flite_include_dir) -DEFLITE -c -o $@ $<
+@@ -55,7 +55,8 @@ ifneq (,$(wildcard *.o))
+ endif
+
+ install: eflite
+- mkdir -p $(exec_prefix)/bin && install -c -m 0755 $< $(exec_prefix)/bin
++ mkdir -p $(DESTDIR)$(exec_prefix)/bin
++ $(BSD_INSTALL_PROGRAM) $< $(DESTDIR)$(exec_prefix)/bin
+
+ test: eflite
+ ./eflite -f eflite_test.txt