X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/35b4ba65bfd11e8140ba985f460d7d68edf4ad14..dd2bc323b61ed6f36d57a713c9c9c62e4b988f6e:/packages/ne/makefile.patch diff --git a/packages/ne/makefile.patch b/packages/ne/makefile.patch index b09b9eb6..81459669 100644 --- a/packages/ne/makefile.patch +++ b/packages/ne/makefile.patch @@ -1,7 +1,7 @@ -diff -u -r ../ne-3.1.0/makefile ./makefile ---- ../ne-3.1.0/makefile 2017-04-29 12:22:39.000000000 +0200 -+++ ./makefile 2017-05-04 23:14:54.916199058 +0200 -@@ -8,7 +8,7 @@ +diff -u -r ../ne-3.1.1/makefile ./makefile +--- ../ne-3.1.1/makefile 2017-06-04 22:43:12.000000000 +0200 ++++ ./makefile 2017-06-06 09:45:51.221176799 +0200 +@@ -8,10 +8,12 @@ # and installed under the $(PREFIX) hierarchy. You can even use "make install PREFIX=$HOME/" # to install ne locally into the directory . @@ -10,7 +10,12 @@ diff -u -r ../ne-3.1.0/makefile ./makefile PROGRAM = ne -@@ -20,7 +20,7 @@ ++STRIP?=strip ++ + ifeq ($(OS), Windows_NT) + OS := Windows + else +@@ -20,7 +22,7 @@ build: docs @@ -19,12 +24,3 @@ diff -u -r ../ne-3.1.0/makefile ./makefile docs: ( cd doc; make ) -@@ -82,7 +82,7 @@ - ifneq ($(OS), Darwin) - $(error This target can only be run under Mac OS X) - endif -- ( cd src; make clean; make NE_GLOBAL_DIR=/usr/share/ne; strip ne ) -+ ( cd src; make clean; make NE_GLOBAL_DIR=/usr/share/ne; $(STRIP) ne ) - -rm -fr /tmp/package-ne-$(VERSION) - make install DESTDIR=/tmp/package-ne-$(VERSION) - pkgbuild --root /tmp/package-ne-$(VERSION) --install-location "/" --version $(VERSION) --identifier ne-$(VERSION) ne-$(VERSION).pkg