$OpenBSD: patch-Makefile.in,v 1.2 2003/01/18 22:55:39 avsm Exp $
--- Makefile.in.orig	Wed Oct  2 21:10:16 2002
+++ Makefile.in	Sat Jan 18 18:40:45 2003
@@ -464,8 +464,7 @@ uninstall-info: uninstall-info-recursive
 	uninstall-info-recursive uninstall-local uninstall-recursive
 
 install-exec-hook:
-	-$(RM) -f $(bindir)/mdecrypt
-	$(LN_S) mcrypt $(bindir)/mdecrypt
+	$(LN_S) mcrypt ${DESTDIR}$(bindir)/mdecrypt
 uninstall-local:
 	-$(RM) -f $(bindir)/mdecrypt
 
