postgresql: Update from 9.6.2 to 9.6.3
[termux-packages] / packages / ne / makefile.patch
CommitLineData
35b4ba65
FF
1diff -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>.
410cfc86 7
35b4ba65
FF
8-PREFIX=/usr/local
9+PREFIX?=/usr/local
410cfc86 10
35b4ba65 11 PROGRAM = ne
410cfc86 12
35b4ba65 13@@ -20,7 +20,7 @@
410cfc86 14
35b4ba65
FF
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