freebsd-ports/math/blocksolve95/files/patch-bmake::freebsd::freebsd.site
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

35 lines
1.2 KiB
Text

--- bmake/freebsd/freebsd.site.orig Thu Feb 15 22:53:34 1996
+++ bmake/freebsd/freebsd.site Wed Jun 21 23:11:51 2006
@@ -15,24 +15,24 @@
# Location of BLAS and LAPACK. These libraries are available via Netlib,
# or see $(BS_DIR)/readme for information on retrieving a subset.
#
-BLAS_LIB = /home/bsmith/lapack/blas_freebsd.a $(FC_LIB)
-LAPACK_LIB = /home/bsmith/lapack/lapack_freebsd.a
+#BLAS_LIB = -lf77blas -lcblas -latlas -lg2c -lm
+#LAPACK_LIB = -L$(LOCALBASE)/lib -lalapack
#
# Location of X-windows software
#
-X11_INCLUDE =
+X11_INCLUDE = -I$(LOCALBASE)/include
X11_LIB = -lX11
#
# Location of MPI (Message Passing Interface) software
#
-MPI_LIB = /usr/local/mpi/lib/freebsd/ch_p4/libmpi.a
-MPI_INCLUDE = -I/usr/local/mpi/include
-MPIRUN = /usr/local/mpi/bin/mpirun
+MPI_LIB = $(LOCALBASE)/mpich2/lib/libmpich.a
+MPI_INCLUDE = -I$(LOCALBASE)/mpich2/include
+MPIRUN = $(LOCALBASE)/mpich2/bin/mpirun
#
# Location of BlockSolve95
#
-BS_INCLUDE =
-BS_LIB =
+BS_INCLUDE = $(PETSC_INCLUDE)
+BS_LIB = $(BS_DIR)/lib/lib$(BOPT)/$(PETSC_ARCH)/libBS95.a
#
# PCONF - indicates which external packages are available at your site
#