]> git.pld-linux.org Git - packages/UFconfig.git/blob - UFconfig-config.patch
- added INSTALL_{LIB,INCLUDE} adjustment to config patch
[packages/UFconfig.git] / UFconfig-config.patch
1 --- UFconfig/UFconfig.mk.orig   2011-12-08 20:19:48.000000000 +0100
2 +++ UFconfig/UFconfig.mk        2012-01-09 16:20:56.743005449 +0100
3 @@ -53,7 +53,7 @@
4  # default make environment.
5  
6  # C and C++ compiler flags.  The first three are standard for *.c and *.cpp
7 -CF = $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -O3 -fexceptions -fPIC
8 +CF = $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -fPIC
9  
10  # ranlib, and ar, for generating libraries.  If you don't need ranlib,
11  # just change it to RANLAB = echo
12 @@ -67,15 +67,16 @@
13  
14  # Fortran compiler (not required for 'make' or 'make library')
15  F77 = gfortran
16 -F77FLAGS = $(FFLAGS) -O
17 +F77FLAGS = $(FFLAGS)
18  F77LIB =
19  
20  # C and Fortran libraries
21  LIB = -lm
22  
23  # For "make install"
24 -INSTALL_LIB = /usr/local/lib
25 -INSTALL_INCLUDE = /usr/local/include
26 +INSTALL_PREFIX = /usr
27 +INSTALL_LIB = $(INSTALL_PREFIX)/lib
28 +INSTALL_INCLUDE = $(INSTALL_PREFIX)/include
29  
30  # For compiling MATLAB mexFunctions (MATLAB 7.5 or later)
31  MEX = mex -O -largeArrayDims -lmwlapack -lmwblas
32 @@ -148,8 +149,8 @@
33  # The path is relative to where it is used, in CHOLMOD/Lib, CHOLMOD/MATLAB, etc.
34  # You may wish to use an absolute path.  METIS is optional.  Compile
35  # CHOLMOD with -DNPARTITION if you do not wish to use METIS.
36 -METIS_PATH = ../../metis-4.0
37 -METIS = ../../metis-4.0/libmetis.a
38 +METIS_PATH = /usr/include/metis
39 +METIS = -lmetis
40  
41  #------------------------------------------------------------------------------
42  # UMFPACK configuration:
This page took 0.055295 seconds and 3 git commands to generate.