Package: libprojectm-dev Version: 2.0.1+dfsg-2 Severity: important Tags: patch
Hello, The .pc.in of projectm use a variable which doesn't exist resulting in a empty libdir. That results in a buggy "-L" in LDFLAGS. Attached patch forces libdir=${exec_prefix}/lib . It's not necessarly the best fix but I don't know CMake enough. I can commit the patch myself if you like though I'll be away from Internet from Monday. -- Xtophe -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libprojectm-dev depends on: ii libprojectm2 2.0.1+dfsg-2 Advanced Milkdrop-compatible music libprojectm-dev recommends no packages. libprojectm-dev suggests no packages. -- no debconf information
>From a139eb3d81e45ee88609d14adbc99b5f0ae62282 Mon Sep 17 00:00:00 2001 From: Christophe Mutricy <xto...@videolan.org> Date: Fri, 30 Jul 2010 23:00:15 +0200 Subject: [PATCH] Fix .pc files The substitution for libdir was not happening --- debian/patches/10_pc-files.patch | 24 ++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 25 insertions(+), 0 deletions(-) create mode 100644 debian/patches/10_pc-files.patch diff --git a/debian/patches/10_pc-files.patch b/debian/patches/10_pc-files.patch new file mode 100644 index 0000000..bffb6b2 --- /dev/null +++ b/debian/patches/10_pc-files.patch @@ -0,0 +1,24 @@ +diff --git a/src/libprojectM/libprojectM.pc.in b/src/libprojectM/libprojectM.pc.in +index 9ba3418..2fce333 100644 +--- a/src/libprojectM/libprojectM.pc.in ++++ b/src/libprojectM/libprojectM.pc.in +@@ -1,6 +1,6 @@ + pref...@cmake_install_prefix@ + exec_pref...@cmake_install_prefix@ +-libd...@lib_install_dir@ ++libdir=${exec_prefix}/lib + included...@cmake_install_prefix@/include + pkgdatad...@cmake_install_prefix@/@RESOURCE_PREFIX@ + sysconfd...@cmake_install_prefix@/@RESOURCE_PREFIX@ +diff --git a/src/projectM-qt/libprojectM-qt.pc.in b/src/projectM-qt/libprojectM-qt.pc.in +index 0677331..dd90552 100644 +--- a/src/projectM-qt/libprojectM-qt.pc.in ++++ b/src/projectM-qt/libprojectM-qt.pc.in +@@ -1,6 +1,6 @@ + pref...@cmake_install_prefix@ + exec_pref...@cmake_install_prefix@ +-libd...@lib_install_dir@ ++libdir=${exec_prefix}/lib + included...@cmake_install_prefix@/include + pkgdatad...@cmake_install_prefix@/share/projectM-qt + sysconfd...@cmake_install_prefix@/share/projectM-qt diff --git a/debian/patches/series b/debian/patches/series index fc62544..1183cb9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ 07_cg-profile-setting.patch 08_qprojectm-openglcontext.patch 09_error-handling.patch +10_pc-files.patch -- 1.7.1