summaryrefslogtreecommitdiff
path: root/packages/maemo/tscalib/makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/maemo/tscalib/makefile.patch')
-rw-r--r--packages/maemo/tscalib/makefile.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/maemo/tscalib/makefile.patch b/packages/maemo/tscalib/makefile.patch
new file mode 100644
index 0000000000..7bfab4f142
--- /dev/null
+++ b/packages/maemo/tscalib/makefile.patch
@@ -0,0 +1,24 @@
+--- Makefile.orig 2005-06-20 18:44:26.000000000 +0200
++++ Makefile 2005-06-20 18:43:56.000000000 +0200
+@@ -1,6 +1,4 @@
+
+-CC = gcc
+-CFLAGS = -Os
+ LIBS = -lts
+ PREFIX = /usr/local
+
+@@ -20,11 +18,11 @@
+ rm -rf $(OBJECTS) $(TARGET) .depends
+
+ install: $(TARGET)
+- install -d -m 755 $(PREFIX)/bin
+- install -c -m 755 $(TARGET) $(PREFIX)/bin/$(TARGET)
++ install -d -m 755 $(DESTDIR)/$(PREFIX)/bin
++ install -c -m 755 $(TARGET) $(DESTDIR)/$(PREFIX)/bin/$(TARGET)
+
+ .depends:
+- $(CC) -MM $(SOURCES) > .depends
++ $(CC) -MM $(CFLAGS) $(SOURCES) > .depends
+
+
+ -include .depends