[Debian-med-packaging] Bug#651802: exonerate: Fix build with --as-needed

Micah Gersten micahg at ubuntu.com
Mon Dec 12 09:12:38 UTC 2011


Package: exonerate
Version: 2.2.0-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch



*** /tmp/tmpIx70yM
In Ubuntu, the attached patch was applied to achieve the following:


  * Add -pthread to LIBS instead of LDFLAGS; fixes FTBFS with --as-needed
    - update configure.in


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric-proposed'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-13-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
only in patch2:
unchanged:
--- exonerate-2.2.0.orig/configure.in
+++ exonerate-2.2.0/configure.in
@@ -289,7 +289,7 @@
 if test "$enable_pthreads" = yes; then
     echo "Using PTHREADS"
     CFLAGS="$CFLAGS -DUSE_PTHREADS"
-    LDFLAGS="$LDFLAGS -lpthread"
+    LIBS="$LIBS -lpthread"
 elif test "$enable_pthreads" = no; then
     echo "Not using pthreads"
 else


More information about the Debian-med-packaging mailing list