termux-packages/packages/unrar/makefile.patch

23 lines
488 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
diff -u -r ../unrar/makefile ./makefile
2017-01-31 13:12:45 +01:00
--- ../unrar/makefile 2016-05-10 11:51:35.000000000 +0200
+++ ./makefile 2017-01-31 12:48:13.868329984 +0100
@@ -2,13 +2,13 @@
2015-06-13 01:03:31 +02:00
# Makefile for UNIX - unrar
# Linux using GCC
2017-01-31 13:12:45 +01:00
-CXX=c++
2015-06-13 01:03:31 +02:00
-CXXFLAGS=-O2
-LIBFLAGS=-fPIC
2017-01-31 13:12:45 +01:00
+CXX?=c++
+CXXFLAGS?=-O2
2015-06-13 01:03:31 +02:00
+LIBFLAGS=$(LDFLAGS)
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
-STRIP=strip
-LDFLAGS=-pthread
-DESTDIR=/usr
2017-01-31 13:12:45 +01:00
+STRIP?=strip
+LDFLAGS?=-pthread
2015-06-13 01:03:31 +02:00
+DESTDIR=@TERMUX_PREFIX@
# Linux using LCC