SOURCES: mythtv-lib64.patch - pass libdir variable to makefiles/qmake

glen glen at pld-linux.org
Sun Sep 4 12:48:25 CEST 2005


Author: glen                         Date: Sun Sep  4 10:48:25 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- pass libdir variable to makefiles/qmake

---- Files affected:
SOURCES:
   mythtv-lib64.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/mythtv-lib64.patch
diff -u SOURCES/mythtv-lib64.patch:1.1 SOURCES/mythtv-lib64.patch:1.2
--- SOURCES/mythtv-lib64.patch:1.1	Sun Sep  4 00:06:21 2005
+++ SOURCES/mythtv-lib64.patch	Sun Sep  4 12:48:20 2005
@@ -1,3 +1,42 @@
+--- ./configure~	2005-09-04 01:26:56.000000000 +0300
++++ ./configure	2005-09-04 01:26:58.000000000 +0300
+@@ -13,6 +13,7 @@
+ # default parameters
+ compile_type="release"
+ prefix="/usr/local"
++libdir="${prefix}/lib"
+ mandir=""
+ bindir=""
+ cross_prefix=""
+@@ -496,6 +497,8 @@
+   ;;  
+   --prefix=*) prefix=`echo $opt | cut -d '=' -f 2`
+   ;;
++  --libdir=*) libdir=`echo $opt | cut -d '=' -f 2`
++  ;;
+   --mandir=*) mandir=`echo $opt | cut -d '=' -f 2`
+   ;;
+   --source-path=*) source_path=`echo $opt | cut -d '=' -f 2`
+@@ -1612,6 +1615,10 @@
+ bindir="${prefix}/bin"
+ fi
+ 
++if test x"$libdir" = x""; then
++libdir="${prefix}/lib"
++fi
++
+ if test x"$mandir" = x""; then
+ mandir="${prefix}/man"
+ fi
+@@ -1840,6 +1847,7 @@
+ 
+ echo "PREFIX=$prefix" >> config.mak
+ #echo "bindir=$bindir" >> config.mak
++echo "LIBDIR=$libdir" >> config.mak
+ #echo "mandir=$mandir" >> config.mak
+ #echo "MAKE=$make" >> config.mak
+ echo "QMAKE_CC=$cc" >> config.mak
+
 --- ./libs/libmythsamplerate/libmythsamplerate.pro~	2005-05-06 23:19:54.000000000 +0300
 +++ ./libs/libmythsamplerate/libmythsamplerate.pro	2005-09-04 00:10:56.000000000 +0300
 @@ -4,7 +4,7 @@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mythtv-lib64.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list