X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/39b61263b51a74fd84766ac44b6d621a807a20c3..dd2bc323b61ed6f36d57a713c9c9c62e4b988f6e:/packages/unrar/makefile.patch diff --git a/packages/unrar/makefile.patch b/packages/unrar/makefile.patch index ef4b5447..06860e0a 100644 --- a/packages/unrar/makefile.patch +++ b/packages/unrar/makefile.patch @@ -1,7 +1,7 @@ -diff -u -r ../unrar/makefile ./makefile ---- ../unrar/makefile 2016-05-10 11:51:35.000000000 +0200 -+++ ./makefile 2017-01-31 12:48:13.868329984 +0100 -@@ -2,13 +2,13 @@ +diff -uNr unrar/makefile unrar.mod/makefile +--- unrar/makefile 2017-06-13 14:04:49.000000000 +0300 ++++ unrar.mod/makefile 2017-09-14 20:40:07.511902817 +0300 +@@ -2,14 +2,15 @@ # Makefile for UNIX - unrar # Linux using GCC @@ -13,10 +13,14 @@ diff -u -r ../unrar/makefile ./makefile +LIBFLAGS=$(LDFLAGS) DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -STRIP=strip +-AR=ar -LDFLAGS=-pthread -DESTDIR=/usr +STRIP?=strip ++AR?=ar +LDFLAGS?=-pthread -+DESTDIR=@TERMUX_PREFIX@ ++DESTDIR=$(PREFIX) ++LIBS=-lreadline # Linux using LCC + #CXX=lcc