[SCM] gpac/master: Patch configure to adhere MultiArch.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Feb 3 16:39:26 UTC 2012


The following commit has been merged in the master branch:
commit 1d2b95dc814807ec7ca9378de29c0a625ead5a00
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Feb 3 17:38:01 2012 +0100

    Patch configure to adhere MultiArch.

diff --git a/debian/patches/multiarch.patch b/debian/patches/multiarch.patch
new file mode 100644
index 0000000..16dd73c
--- /dev/null
+++ b/debian/patches/multiarch.patch
@@ -0,0 +1,37 @@
+Author: Alessio Treglia <alessio at debian.org>
+Description: Process configure's --libdir option to set the shared library
+ installation path properly.
+Forwarded: no
+---
+ configure |    6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+--- gpac.orig/configure
++++ gpac/configure
+@@ -271,6 +271,8 @@ for opt do
+     case "$opt" in
+         --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`
+@@ -313,9 +315,6 @@ case "$cpu" in
+         if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
+             if [ -z "`echo $CFLAGS | grep -- -m32`"  ]; then
+                 cpu="x86_64"
+-                if test "$linux" = "yes" ; then
+-                    libdir="lib64"
+-                fi
+                 want_pic="yes"
+             fi
+         fi
+@@ -328,7 +327,6 @@ case "$cpu" in
+         ;;
+     ppc64)
+         cpu="powerpc"
+-        libdir="lib64"
+         ;;  
+     "Power Macintosh"|ppc)
+         cpu="powerpc"
diff --git a/debian/patches/series b/debian/patches/series
index b9c0597..419bacf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 soname-fix.patch
 mp4box-manpage-fix.patch
+multiarch.patch

-- 
gpac packaging



More information about the pkg-multimedia-commits mailing list