$NetBSD: patch-ac,v 1.12 2008/04/24 07:40:24 bjs Exp $

--- Makefile.orig	2008-02-21 18:58:08.000000000 -0500
+++ Makefile
@@ -1,8 +1,8 @@
 # Top-level Mesa makefile
 
-TOP = .
+TOP= .
 
-SUBDIRS = src progs
+SUBDIRS?= src
 
 
 default: $(TOP)/configs/current
@@ -90,6 +90,7 @@ hpux11-ia64 \
 hpux11-ia64-static \
 hpux9 \
 hpux9-gcc \
+interix3 \
 irix6-64 \
 irix6-64-static \
 irix6-n32 \
@@ -140,6 +141,10 @@ netbsd \
 openbsd \
 osf1 \
 osf1-static \
+pkgsrc \
+pkgsrc-dri \
+pkgsrc-dri-i386 \
+pkgsrc-dri-x86_64 \
 solaris-x86 \
 solaris-x86-gcc \
 solaris-x86-gcc-static \
@@ -156,10 +161,6 @@ sunos5-v9 \
 sunos5-v9-static \
 sunos5-v9-cc-g++ \
 ultrix-gcc:
-	@ if test -f configs/current || test -L configs/current ; then \
-		echo "Please run 'make realclean' before changing configs" ; \
-		exit 1 ; \
-	fi
 	(cd configs && rm -f current && ln -s $@ current)
 	$(MAKE) default
 
