$OpenBSD: patch-makefile_unix,v 1.15 2012/04/08 17:04:20 naddy Exp $
--- makefile.unix.orig	Mon May 30 18:47:49 2011
+++ makefile.unix	Sun Apr  8 18:41:22 2012
@@ -8,9 +8,10 @@
 # Linux using GCC
 CXX=g++
 CXXFLAGS=-O2
-DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DOPENSSL
 STRIP=strip
 DESTDIR=/usr
+LIBS=-lcrypto
 
 # Linux using LCC
 #CXX=lcc
@@ -106,6 +107,8 @@ OBJECTS=rar.o strlist.o strfn.o pathfn.o savepos.o sma
 	archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.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 $<
