From 044606f28bc78c4cbed16322800d5de4d2db4c35 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 2 Jul 2013 10:30:23 +0000 Subject: Don't set compiler, nor compiler flags. Don't overwrite linker flags. --- archivers/unrar/distinfo | 3 ++- archivers/unrar/patches/patch-makefile | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 archivers/unrar/patches/patch-makefile (limited to 'archivers/unrar') diff --git a/archivers/unrar/distinfo b/archivers/unrar/distinfo index 8a5902e35d7..41aaf6c2bb2 100644 --- a/archivers/unrar/distinfo +++ b/archivers/unrar/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.47 2013/07/02 06:40:56 wiz Exp $ +$NetBSD: distinfo,v 1.48 2013/07/02 10:30:23 adam Exp $ SHA1 (unrarsrc-5.0.7.tar.gz) = 7d1cd96d29695e90df4aaef426e7068b241e2528 RMD160 (unrarsrc-5.0.7.tar.gz) = fd3a3ba33e1250e0b9680138a22241a26ee5722e Size (unrarsrc-5.0.7.tar.gz) = 208034 bytes +SHA1 (patch-makefile) = f63828cfc5bfc470e7e61396d2775e1f1e0ef9e9 diff --git a/archivers/unrar/patches/patch-makefile b/archivers/unrar/patches/patch-makefile new file mode 100644 index 00000000000..442acabe34b --- /dev/null +++ b/archivers/unrar/patches/patch-makefile @@ -0,0 +1,21 @@ +$NetBSD: patch-makefile,v 1.1 2013/07/02 10:30:23 adam Exp $ + +Don't set compiler, nor compiler flags. +Don't overwrite linker flags. + +--- makefile.orig 2013-07-02 10:24:50.000000000 +0000 ++++ makefile +@@ -2,12 +2,10 @@ + # Makefile for UNIX - unrar + + # Linux using GCC +-CXX=g++ +-CXXFLAGS=-O2 + LIBFLAGS=-fPIC + DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP + STRIP=strip +-LDFLAGS=-pthread ++LDFLAGS+=-pthread + DESTDIR=/usr + + # Linux using LCC -- cgit v1.2.3