From 5c6ccbb484a5c9eb7f72b0583fc0dd1e581eb7c1 Mon Sep 17 00:00:00 2001
From: Jed Brown <jed@59A2.org>
Date: Mon, 6 Aug 2012 11:03:28 -0600
Subject: [PATCH] Support SLEPc 3.3 (and later)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------1.7.11.4"

This is a multi-part message in MIME format.
--------------1.7.11.4
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit

---
 Make.common.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)


--------------1.7.11.4
Content-Type: text/x-patch; name="0001-Support-SLEPc-3.3-and-later.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="0001-Support-SLEPc-3.3-and-later.patch"

diff --git a/Make.common.in b/Make.common.in
index 670f992..bde86ac 100644
--- a/Make.common.in
+++ b/Make.common.in
@@ -475,10 +475,12 @@ ifeq ($(enable-optional),yes)
       include $(SLEPC_DIR)/bmake/$(PETSC_ARCH)/slepcconf
     else
 	  ifeq ($(petsc-major),3)  # 3.0.x & newer style
-	    ifeq ($(petsc-major-minor),3.2.x)  # 3.2.x & newer style
-	      include ${SLEPC_DIR}/conf/slepc_variables
-	    else
+	    ifeq ($(petsc-major-minor),3.0.x)
+	      include ${SLEPC_DIR}/conf/slepc_common_variables
+	    else ifeq ($(petsc-major-minor),3.1.x)
 	      include ${SLEPC_DIR}/conf/slepc_common_variables
+	    else   # 3.2.x & newer style
+	      include ${SLEPC_DIR}/conf/slepc_variables
 	    endif
 	  else
 	    include $(SLEPC_DIR)/bmake/$(PETSC_ARCH)/packages

--------------1.7.11.4--


