[MacPorts] #35245: Building shared libraries of petsc