diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2016-01-07 19:01:34 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2016-01-07 19:01:34 +0000 |
commit | eee7686522f590079c22c068603b7d4dd1283aa7 (patch) | |
tree | 48b11ca0024ffc0916b89c10b15198c6cdba5bc9 /archivers/unarchiver/files/patch-XADMaster_Makefile.freebsd | |
parent | Update 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-XADMaster_Makefile.freebsd')
-rw-r--r-- | archivers/unarchiver/files/patch-XADMaster_Makefile.freebsd | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/archivers/unarchiver/files/patch-XADMaster_Makefile.freebsd b/archivers/unarchiver/files/patch-XADMaster_Makefile.freebsd new file mode 100644 index 000000000000..31002d477bfa --- /dev/null +++ b/archivers/unarchiver/files/patch-XADMaster_Makefile.freebsd @@ -0,0 +1,52 @@ +--- XADMaster/Makefile.freebsd.orig 2015-09-23 20:24:59 UTC ++++ XADMaster/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,8 @@ GNUSTEP_OPTS = -DGNUSTEP \ + -fobjc-exceptions \ + -fconstant-string-class=NSConstantString + +-GCC_OPTS = -O2 \ +- -Wno-import \ ++GCC_OPTS = $(CFLAGS) -Wno-import \ + -Wno-multichar \ +- -g \ + -D_FILE_OFFSET_BITS=64 \ + -isystem /usr/local/GNUstep/System/Library/Headers \ + -I/usr/local/include +@@ -42,6 +37,7 @@ LIBS = -Wl,--no-whole-archive \ + -lgnustep-base \ + -lz \ + -lbz2 \ ++ -lwavpack \ + -licuuc \ + -lobjc \ + -lm +@@ -74,7 +70,7 @@ libXADMaster.a: $(LIBRARY_OBJS) + $(AR) rcs $@ $^ + + ../UniversalDetector/libUniversalDetector.a: +- gmake -C ../UniversalDetector -f Makefile.linux ++ $(MAKE) -C ../UniversalDetector -f Makefile.freebsd + + XADTest2: $(XADTEST2_OBJS) libXADMaster.a ../UniversalDetector/libUniversalDetector.a + $(LD) $(ALL_LDFLAGS) -o $@ $^ $(LIBS) +@@ -99,7 +95,7 @@ lsar: $(LSAR_OBJS) $(CMDLINE_OBJS) libXA + + clean: + rm -rf $(BUILD_DIR) $(EXECUTABLE_FILES) $(LIBRARY_FILES) +- gmake -C ../UniversalDetector -f Makefile.linux clean ++ $(MAKE) -C ../UniversalDetector -f Makefile.freebsd clean + + .PHONY: ../UniversalDetector/libUniversalDetector.a clean + |