Root/nanoterm/patches/001-change-DISTDIR-to-DESTDIR.patch

1diff --git a/Makefile b/Makefile
2index 08ac50e..8fb6d34 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -12,11 +12,11 @@ distclean: clean
6     rm -f aclocal.m4 autoconf.h autoconf.mk config.log config.status
7 
8 install: all
9- install -D -m 0755 -s --strip-program=$(STRIP) src/nanoterm $(DISTDIR)$(bindir)/nanoterm
10+ install -D -m 0755 -s --strip-program=$(STRIP) src/nanoterm $(DESTDIR)$(bindir)/nanoterm
11 
12 ipkg:
13     rm -Rf ipkg-tmp
14     mkdir -p ipkg-tmp/CONTROL
15     cp dist/ipkg.control ipkg-tmp/CONTROL/control
16- $(MAKE) DISTDIR=ipkg-tmp install
17+ $(MAKE) DESTDIR=ipkg-tmp install
18     ipkg-build -o root -g root ipkg-tmp
19

Archive Download this file



interactive