$OpenBSD: patch-misc_Makefile_in,v 1.4 2005/06/23 07:34:56 djm Exp $
--- misc/Makefile.in.orig	Fri Apr 29 22:05:10 2005
+++ misc/Makefile.in	Fri Jun 10 07:40:33 2005
@@ -73,6 +73,10 @@ ICONS=		$(srcdir)/*.jpg $(srcdir)/*.png
 # Rules
 
 all:
+	for p in $(PACKAGES); \
+	do \
+	    gunzip -c $(srcdir)/$$p.tar.gz | tar xf -; \
+	done
 
 install: install-other install-packages
 
@@ -92,8 +96,7 @@ install-other:
 install-packages:
 	for p in $(PACKAGES); \
 	do \
-	    gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \
-	    (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
+	    (cd $$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
 	done
 
 finish:
