]> git.pld-linux.org Git - packages/UFconfig.git/blame - UFconfig-config.patch
- added INSTALL_{LIB,INCLUDE} adjustment to config patch
[packages/UFconfig.git] / UFconfig-config.patch
CommitLineData
fbdcf729
JB
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
16d720e3
JB
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
fbdcf729 12@@ -67,15 +67,16 @@
16d720e3
JB
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
fbdcf729
JB
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 @@
383f6bce
JR
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
16d720e3
JB
41 #------------------------------------------------------------------------------
42 # UMFPACK configuration:
This page took 0.029118 seconds and 4 git commands to generate.