diff options
author | adam <adam@pkgsrc.org> | 2013-07-02 10:30:23 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2013-07-02 10:30:23 +0000 |
commit | 044606f28bc78c4cbed16322800d5de4d2db4c35 (patch) | |
tree | 629860fcf0cc13484bb74b398c60d82f38189ab5 /archivers/unrar | |
parent | 626324c5dacb811503db9a46a9d5c9489208a246 (diff) | |
download | pkgsrc-044606f28bc78c4cbed16322800d5de4d2db4c35.tar.gz |
Don't set compiler, nor compiler flags. Don't overwrite linker flags.
Diffstat (limited to 'archivers/unrar')
-rw-r--r-- | archivers/unrar/distinfo | 3 | ||||
-rw-r--r-- | archivers/unrar/patches/patch-makefile | 21 |
2 files changed, 23 insertions, 1 deletions
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 |