openbsd-ports/lang/erlang/patches/patch-Makefile_in
2007-12-19 22:51:29 +00:00

32 lines
1017 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.10 2007/12/19 22:51:29 sthen Exp $
--- Makefile.in.orig Mon Nov 26 19:57:49 2007
+++ Makefile.in Thu Dec 6 09:46:12 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@
@@ -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
@@ -715,7 +714,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
#