summaryrefslogtreecommitdiff
path: root/archivers/unarchiver/files/patch-UniversalDetector_Makefile.freebsd
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2016-01-07 19:01:34 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2016-01-07 19:01:34 +0000
commiteee7686522f590079c22c068603b7d4dd1283aa7 (patch)
tree48b11ca0024ffc0916b89c10b15198c6cdba5bc9 /archivers/unarchiver/files/patch-UniversalDetector_Makefile.freebsd
parentUpdate sysutils/azure-agent to 2.0.16. (diff)
- Add a port of The Unarchiver, GNUstep-based unpacker for a vast variety
of file formats, both old and new - Use external wavpack library instead of the bundled one, so that if it has a security vulnerability, the port would not have to be recompiled WWW: http://unarchiver.c3.cx/commandline
Diffstat (limited to 'archivers/unarchiver/files/patch-UniversalDetector_Makefile.freebsd')
-rw-r--r--archivers/unarchiver/files/patch-UniversalDetector_Makefile.freebsd26
1 files changed, 26 insertions, 0 deletions
diff --git a/archivers/unarchiver/files/patch-UniversalDetector_Makefile.freebsd b/archivers/unarchiver/files/patch-UniversalDetector_Makefile.freebsd
new file mode 100644
index 000000000000..e356cbe7a811
--- /dev/null
+++ b/archivers/unarchiver/files/patch-UniversalDetector_Makefile.freebsd
@@ -0,0 +1,26 @@
+--- UniversalDetector/Makefile.freebsd.orig 2015-09-23 20:24:59 UTC
++++ UniversalDetector/Makefile.freebsd
+@@ -1,10 +1,7 @@
+ # Compilers and linkers
+
+-OBJCC = clang
+-CC = clang
+-CXX = clang++
++OBJCC ?= $(CC)
+ LD = $(CXX)
+-AR = ar
+
+ # Options for compilation
+
+@@ -16,10 +13,9 @@ GNUSTEP_OPTS = -DGNUSTEP \
+ -fobjc-exceptions \
+ -fconstant-string-class=NSConstantString
+
+-GCC_OPTS = -O2 \
++GCC_OPTS = $(CFLAGS) \
+ -Wno-import \
+ -Wno-multichar \
+- -g \
+ -D_FILE_OFFSET_BITS=64 \
+ -isystem /usr/local/GNUstep/System/Library/Headers \
+ -I/usr/local/include