summaryrefslogtreecommitdiff
path: root/nanoterm/patches
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
commit9352995934adec8059077af241c35ccd1573bd80 (patch)
tree60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /nanoterm/patches
parentef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff)
parent880bca260c4ce91554a49b2475232cf5c0ffd447 (diff)
downloadqipackages-fork-master.tar.gz
Merge branch 'master' of git://projects.qi-hardware.com/openwrt-packagesHEADmaster
Conflicts: links/Makefile
Diffstat (limited to 'nanoterm/patches')
-rw-r--r--nanoterm/patches/001-change-DISTDIR-to-DESTDIR.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/nanoterm/patches/001-change-DISTDIR-to-DESTDIR.patch b/nanoterm/patches/001-change-DISTDIR-to-DESTDIR.patch
new file mode 100644
index 0000000..ce34efb
--- /dev/null
+++ b/nanoterm/patches/001-change-DISTDIR-to-DESTDIR.patch
@@ -0,0 +1,18 @@
+diff --git a/Makefile b/Makefile
+index 08ac50e..8fb6d34 100644
+--- a/Makefile
++++ b/Makefile
+@@ -12,11 +12,11 @@ distclean: clean
+ rm -f aclocal.m4 autoconf.h autoconf.mk config.log config.status
+
+ install: all
+- install -D -m 0755 -s --strip-program=$(STRIP) src/nanoterm $(DISTDIR)$(bindir)/nanoterm
++ install -D -m 0755 -s --strip-program=$(STRIP) src/nanoterm $(DESTDIR)$(bindir)/nanoterm
+
+ ipkg:
+ rm -Rf ipkg-tmp
+ mkdir -p ipkg-tmp/CONTROL
+ cp dist/ipkg.control ipkg-tmp/CONTROL/control
+- $(MAKE) DISTDIR=ipkg-tmp install
++ $(MAKE) DESTDIR=ipkg-tmp install
+ ipkg-build -o root -g root ipkg-tmp