openbsd-ports/archivers/unrar/patches/patch-makefile_unix
sturm 0d86c31cea update to unrar 3.30 beta 4
from thuglife at bsd dot hu (Robert Nagy)
2004-01-17 18:44:18 +00:00

22 lines
685 B
Plaintext

$OpenBSD: patch-makefile_unix,v 1.2 2004/01/17 18:44:18 sturm Exp $
--- makefile.unix.orig 2003-09-15 13:22:18.000000000 +0200
+++ makefile.unix 2004-01-17 19:28:46.000000000 +0100
@@ -58,6 +58,8 @@ OBJECTS=rar.o strlist.o strfn.o pathfn.o
resource.o match.o timefn.o rdwrfn.o consio.o options.o ulinks.o errhnd.o rarvm.o \
rijndael.o getbits.o sha1.o extinfo.o extract.o volume.o list.o find.o unpack.o cmddata.o
+.SUFFIXES: .cpp
+
.cpp.o:
$(COMPILE) -D$(WHAT) -c $<
@@ -66,7 +68,7 @@ all: unrar
clean:
@rm -f *.o *.bak *~
-unrar: WHAT=UNRAR
+WHAT=UNRAR
unrar: $(OBJECTS) $(UNRAR_OBJ)
@rm -f makeunrar
$(LINK) -o unrar $(LDFLAGS) $(OBJECTS) $(UNRAR_OBJ) $(LIBS)