libuv: Update from 1.20.0 to 1.20.1
[termux-packages] / packages / ne / makefile.patch
CommitLineData
9c43e1f9
FF
1diff -u -r ../ne-3.1.1/makefile ./makefile
2--- ../ne-3.1.1/makefile 2017-06-04 22:43:12.000000000 +0200
3+++ ./makefile 2017-06-06 09:45:51.221176799 +0200
4@@ -8,10 +8,12 @@
35b4ba65
FF
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>.
410cfc86 7
35b4ba65
FF
8-PREFIX=/usr/local
9+PREFIX?=/usr/local
410cfc86 10
35b4ba65 11 PROGRAM = ne
410cfc86 12
9c43e1f9
FF
13+STRIP?=strip
14+
15 ifeq ($(OS), Windows_NT)
16 OS := Windows
17 else
18@@ -20,7 +22,7 @@
410cfc86 19
35b4ba65
FF
20
21 build: docs
22- ( cd src; make clean; make NE_GLOBAL_DIR=$(PREFIX)/share/ne; strip ne )
23+ ( cd src; make clean; make NE_GLOBAL_DIR=$(PREFIX)/share/ne; $(STRIP) ne )
24
25 docs:
26 ( cd doc; make )