$OpenBSD: patch-Makefile_bsd-wrapper,v 1.1.1.1 2010/05/27 08:36:54 espie Exp $
--- Makefile.bsd-wrapper.orig	Tue May 25 11:38:21 2010
+++ Makefile.bsd-wrapper	Tue May 25 11:38:43 2010
@@ -139,7 +139,7 @@ all: config.status
 	
 config.status: Makefile.in configure 
 	mkdir -p libE77
-	cd ${.CURDIR}/../gcc && \
+	cd ${EGCS_DIR}/gcc && \
 		make -f Makefile.bsd-wrapper config.status tree-check.h 
 	# fake g771 existence
 	cd $(EGCS_OBJDIR)/gcc && touch f771
