$OpenBSD: patch-Makefile,v 1.1.1.1 2009/06/02 08:36:02 benoit Exp $ --- Makefile.orig Thu Oct 2 15:44:47 2008 +++ Makefile Tue Jun 2 09:24:11 2009 @@ -24,13 +24,13 @@ DISTFILES = AUTHORS ChangeLog hive.c LICENSE list.h Ma samdump2.1 samdump2.h bkhive.c COPYING hive.h list.c\ main.c README samdump2.c DESTDIR = -PREFIX = /usr/local/ +PREFIX = ${PREFIX} BINDIR = $(PREFIX)/bin MANDIR = $(PREFIX)/share/man/man1 INSTALL = $(shell which install) CC = $(shell which gcc) CFLAGS = -Wall -LIBS = -lssl +LIBS = -lssl -lcrypto # Default target all: build @@ -49,7 +49,7 @@ clean: @echo "" # Install target -install: build infos +install: build @echo "Creating directories..." $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(BINDIR) $(INSTALL) -d -m 755 -o root -g root $(DESTDIR)$(MANDIR)