X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=UFconfig-config.patch;fp=UFconfig-config.patch;h=242d16a1762d48797b6beff58ddc3adb1b7a9300;hb=fbdcf7291d67d70c5fee31b4f9720e183f0edaa7;hp=8624a0b6c6b3b9c5bc2e27eeab8e9c430784e991;hpb=16d720e36e5c09b4d5f9a1931f55afda3d011862;p=packages%2FUFconfig.git diff --git a/UFconfig-config.patch b/UFconfig-config.patch index 8624a0b..242d16a 100644 --- a/UFconfig-config.patch +++ b/UFconfig-config.patch @@ -1,5 +1,5 @@ ---- UFconfig/UFconfig.mk 2008-09-22 20:19:37.000000000 +0200 -+++ UFconfig-dud/UFconfig.mk 2009-01-23 12:25:23.482152935 +0100 +--- UFconfig/UFconfig.mk.orig 2011-12-08 20:19:48.000000000 +0100 ++++ UFconfig/UFconfig.mk 2012-01-09 16:20:56.743005449 +0100 @@ -53,7 +53,7 @@ # default make environment. @@ -9,7 +9,7 @@ # ranlib, and ar, for generating libraries. If you don't need ranlib, # just change it to RANLAB = echo -@@ -67,7 +67,7 @@ +@@ -67,15 +67,16 @@ # Fortran compiler (not required for 'make' or 'make library') F77 = gfortran @@ -18,7 +18,18 @@ F77LIB = # C and Fortran libraries -@@ -148,8 +148,8 @@ + LIB = -lm + + # For "make install" +-INSTALL_LIB = /usr/local/lib +-INSTALL_INCLUDE = /usr/local/include ++INSTALL_PREFIX = /usr ++INSTALL_LIB = $(INSTALL_PREFIX)/lib ++INSTALL_INCLUDE = $(INSTALL_PREFIX)/include + + # For compiling MATLAB mexFunctions (MATLAB 7.5 or later) + MEX = mex -O -largeArrayDims -lmwlapack -lmwblas +@@ -148,8 +149,8 @@ # The path is relative to where it is used, in CHOLMOD/Lib, CHOLMOD/MATLAB, etc. # You may wish to use an absolute path. METIS is optional. Compile # CHOLMOD with -DNPARTITION if you do not wish to use METIS.