$NetBSD: patch-af,v 1.3 2009/12/15 12:07:57 asau Exp $ --- Makefile.in.orig 2008-02-05 08:37:34.000000000 -0500 +++ Makefile.in @@ -49,8 +49,7 @@ exec_prefix = @exec_prefix@ # useful e.g. when installing on a server that stores the files with a # different path from where the clients access them. Or when building # 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@ @@ -707,7 +706,7 @@ else endif install.Install: - cd $(ERLANG_LIBDIR) && ./Install -minimal $(ERLANG_LIBDIR) + cd $(ERLANG_LIBDIR) && ./Install -minimal $(ERLANG_ILIBDIR) # # Install erlang base public files