serf-1.pc file has incorrect paths

Bug #1388271 reported by Ben Reser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
serf (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

$ cat /usr/lib/x86_64-linux-gnu/pkgconfig/serf-1.pc
SERF_MAJOR_VERSION=1
prefix=/usr/local
exec_prefix=${prefix}
libdir=/usr/local/lib
includedir=${prefix}/include/serf-1

Name: serf
Description: HTTP client library
Version: 1.3.7
Requires.private: libssl libcrypto
Libs: -L${libdir} -lserf-${SERF_MAJOR_VERSION}
Libs.private: -L/usr/lib/x86_64-linux-gnu -laprutil-1 -L/usr/lib/x86_64-linux-gnu -lapr-1 -Wl,-Bsymbolic-functions -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz
Cflags: -I${includedir}

Note that prefix should be /usr and libdir should be /usr/lib/x86_64-linux-gnu

This problem manifests itself as Subversion being unable to build with this package since it can't find the serf.h file since it isn't in /usr/local/include/serf-1 as pkg-config is telling it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package serf - 1.3.7-3

---------------
serf (1.3.7-3) unstable; urgency=medium

  * Specify the proper prefix/libdir when building libserf-1.pc.
    (Closes: LP: #1388271)

 -- James McCoy <email address hidden> Mon, 17 Nov 2014 21:12:38 -0500

Changed in serf (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.