Index: ../trunk-jpl/externalpackages/mpich/install-3.0-macosx64.sh
===================================================================
--- ../trunk-jpl/externalpackages/mpich/install-3.0-macosx64.sh	(revision 18394)
+++ ../trunk-jpl/externalpackages/mpich/install-3.0-macosx64.sh	(revision 18395)
@@ -19,6 +19,7 @@
 cd src
 ./configure \
 	--prefix="$ISSM_DIR/externalpackages/mpich/install" \
+	--enable-shared
 
 	#CC=llvm-gcc \
 
Index: ../trunk-jpl/externalpackages/dakota/install-5.3.1-macosx64.sh
===================================================================
--- ../trunk-jpl/externalpackages/dakota/install-5.3.1-macosx64.sh	(revision 18394)
+++ ../trunk-jpl/externalpackages/dakota/install-5.3.1-macosx64.sh	(revision 18395)
@@ -24,6 +24,7 @@
 cp $DAK_SRC/cmake/BuildDakotaTemplate.cmake $DAK_SRC/cmake/BuildDakotaCustom.cmake
 patch $DAK_SRC/cmake/BuildDakotaCustom.cmake configs/5.3.1/BuildDakotaCustom.cmake.mac.patch
 patch $DAK_SRC/cmake/DakotaDev.cmake configs/5.3.1/DakotaDev.cmake.patch
+patch $DAK_SRC/CMakeLists.txt configs/5.3.1/CMakeLists.txt.patch
 
 #Apply patches
 patch src/src/ParallelLibrary.cpp configs/5.3.1/ParallelLibrary.cpp.patch
Index: ../trunk-jpl/externalpackages/petsc/install-3.5-macosx64.sh
===================================================================
--- ../trunk-jpl/externalpackages/petsc/install-3.5-macosx64.sh	(revision 18394)
+++ ../trunk-jpl/externalpackages/petsc/install-3.5-macosx64.sh	(revision 18395)
@@ -22,9 +22,7 @@
 	--with-debugging=0 \
 	--with-valgrind=0 \
 	--with-x=0 \
-	--with-ssl=0 \
-	--with-shared-libraries=0 \
-   --download-fblaslapack=1 \
+	--with-shared-libraries=1 \
 	--download-metis=1 \
 	--download-parmetis=1 \
 	--download-mumps=1 \
