$NetBSD: patch-af,v 1.1 2008/01/04 14:10:06 ghen Exp $

DESTDIR support.

--- Makefile.in.orig	2007-11-26 19:57:49.000000000 +0100
+++ Makefile.in
@@ -51,6 +51,7 @@ exec_prefix = @exec_prefix@
 # rpms.
 #INSTALL_PREFIX =
 # Naah...override `prefix' instead.
+INSTALL_PREFIX=${DESTDIR}
 
 # The directory in which user executables (ERL_BASE_PUB_FILES) are put
 BINDIR      = $(INSTALL_PREFIX)@bindir@
