summaryrefslogtreecommitdiff
path: root/archivers/unrar/patches
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-05-11 12:37:33 +0000
committersalo <salo@pkgsrc.org>2003-05-11 12:37:33 +0000
commit039f65ff53b54ff0bcdeb7cf4fb888fa4ab7354c (patch)
treed2c4ffceb3452d869090fc334cc463b7c8455904 /archivers/unrar/patches
parent203cc89afe3905f10aa8efbea7dd74d460cb7de4 (diff)
downloadpkgsrc-039f65ff53b54ff0bcdeb7cf4fb888fa4ab7354c.tar.gz
PKGREVISION++
- remove dependency on GNU make - this package doesn't really use buildlink2 - pass CFLAGS
Diffstat (limited to 'archivers/unrar/patches')
-rw-r--r--archivers/unrar/patches/patch-aa32
1 files changed, 32 insertions, 0 deletions
diff --git a/archivers/unrar/patches/patch-aa b/archivers/unrar/patches/patch-aa
new file mode 100644
index 00000000000..6a0ca0eba9a
--- /dev/null
+++ b/archivers/unrar/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.7 2003/05/11 12:37:33 salo Exp $
+
+--- makefile.unix.orig 2003-01-03 19:14:22.000000000 +0100
++++ makefile.unix 2003-05-11 14:22:31.000000000 +0200
+@@ -6,8 +6,8 @@
+ #
+
+ # Linux using GCC
+-CXX=g++
+-CXXFLAGS=-O2
++#CXX=g++
++CXXFLAGS+=-O2
+ DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+
+ # Linux using LCC
+@@ -41,6 +41,8 @@
+ COMPILE=$(CXX) $(CXXFLAGS) $(DEFINES)
+ LINK=$(CXX)
+
++WHAT=UNRAR
++
+ UNRAR_OBJ=filestr.o recvol.o rs.o scantree.o
+
+ OBJECTS=rar.o strlist.o strfn.o pathfn.o int64.o savepos.o global.o file.o filefn.o filcreat.o \
+@@ -56,7 +58,6 @@
+ clean:
+ @rm -f *.o *.bak *~
+
+-unrar: WHAT=UNRAR
+ unrar: $(OBJECTS) $(UNRAR_OBJ)
+ @rm -f makeunrar
+ $(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)