--- erlang/Makefile.in.orig	2006-05-12 07:43:44.000000000 -0700
+++ erlang/Makefile.in	2006-05-20 13:42:29.000000000 -0700
@@ -545,9 +545,10 @@
 # Install erlang base public files
 #
 install.bin:
+	cd $(BINDIR); \
 	for file in $(ERL_BASE_PUB_FILES); do \
 		rm -f $(BINDIR)/$$file; \
-		${LN_S} $(ERLANG_BINDIR)/$$file $(BINDIR)/$$file; \
+		${LN_S} ../lib/erlang/bin/$$file .; \
 	done
 
 #