Update android tools and build tools
[termux-packages] / packages / ne / makefile.patch
1 diff -u -r ../ne-3.1.0/makefile ./makefile
2 --- ../ne-3.1.0/makefile 2017-04-29 12:22:39.000000000 +0200
3 +++ ./makefile 2017-05-04 23:14:54.916199058 +0200
4 @@ -8,7 +8,7 @@
5 # and installed under the $(PREFIX) hierarchy. You can even use "make install PREFIX=$HOME/<dir>"
6 # to install ne locally into the directory <dir>.
7
8 -PREFIX=/usr/local
9 +PREFIX?=/usr/local
10
11 PROGRAM = ne
12
13 @@ -20,7 +20,7 @@
14
15
16 build: docs
17 - ( cd src; make clean; make NE_GLOBAL_DIR=$(PREFIX)/share/ne; strip ne )
18 + ( cd src; make clean; make NE_GLOBAL_DIR=$(PREFIX)/share/ne; $(STRIP) ne )
19
20 docs:
21 ( cd doc; make )
22 @@ -82,7 +82,7 @@
23 ifneq ($(OS), Darwin)
24 $(error This target can only be run under Mac OS X)
25 endif
26 - ( cd src; make clean; make NE_GLOBAL_DIR=/usr/share/ne; strip ne )
27 + ( cd src; make clean; make NE_GLOBAL_DIR=/usr/share/ne; $(STRIP) ne )
28 -rm -fr /tmp/package-ne-$(VERSION)
29 make install DESTDIR=/tmp/package-ne-$(VERSION)
30 pkgbuild --root /tmp/package-ne-$(VERSION) --install-location "/" --version $(VERSION) --identifier ne-$(VERSION) ne-$(VERSION).pkg