Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 16:03:50 +0200
From:      Jan Henrik Sylvester <me@janh.de>
To:        Florian Smeets <flo@FreeBSD.org>
Cc:        gecko-list freebsd <freebsd-gecko@freebsd.org>
Subject:   devel/nspr libdata/pkgconfig/nspr.pc broken after 4.9 to 4.9.1 update
Message-ID:  <4FCE11C6.8060709@janh.de>

next in thread | raw e-mail | index | archive | help
After updating devel/nspr from 4.9 to 4.9.1 with portmaster, 
libdata/pkgconfig/nspr.pc is broken:

----------------------------------------
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/nspr

Name: NSPR
Description: The Netscape Portable Runtime
Version: 4.9.1
Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -pthread
Cflags: -I${includedir}
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/nspr

Name: NSPR
Description: The Netscape Portable Runtime
Version: 4.9.1
Libs: -L${exec_prefix}/lib -lplds4 -lplc4 -lnspr4
Cflags: -I${prefix}/include/nspr
----------------------------------------

In 4.9, the file was just the first half (besides the version number).

databases/evolution-data-server now fails to build, because "pkg-config 
--cflags nspr" now returns an error: "Duplicate definition of variable 
'prefix' in '/usr/local/libdata/pkgconfig/nspr.pc'"

Manually deleting the second half of libdata/pkgconfig/nspr.pc, I was 
able to finish the build of databases/evolution-data-server.

It may be about the addition of config/nspr.pc having been deleted from 
devel/nspr/files/patch-..::configure -- but I have not checked.

Cheers,
Jan Henrik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FCE11C6.8060709>