openbsd-ports/lang/erlang/patches/patch-Makefile_in
steven bec0381882 update to R11B-5
from maintainer Jon Olsson
2007-07-04 05:38:58 +00:00

32 lines
1017 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.9 2007/07/04 05:38:58 steven Exp $
--- Makefile.in.orig Mon Jun 11 14:55:05 2007
+++ Makefile.in Mon Jul 2 15:38:36 2007
@@ -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@
@@ -680,7 +679,7 @@ else
endif
install.Install:
- cd $(ERLANG_LIBDIR) && ./Install -minimal $(ERLANG_LIBDIR)
+ cd $(ERLANG_LIBDIR) && ./Install -minimal $(ERLANG_ILIBDIR)
#
# Install erlang base public files
@@ -688,7 +687,7 @@ install.Install:
install.bin:
for file in $(ERL_BASE_PUB_FILES); do \
rm -f $(BINDIR)/$$file; \
- ${LN_S} $(ERLANG_BINDIR)/$$file $(BINDIR)/$$file; \
+ ${LN_S} $(ERLANG_ILIBDIR)/bin/$$file $(BINDIR)/$$file; \
done
#