$OpenBSD: patch-misc_Makefile_in,v 1.3 2004/01/01 17:29:08 jakob Exp $
--- misc/Makefile.in.orig	2003-12-30 05:47:44.000000000 +0100
+++ misc/Makefile.in	2004-01-01 18:09:04.000000000 +0100
@@ -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
 
@@ -89,8 +93,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:
