devel/nspr libdata/pkgconfig/nspr.pc broken after 4.9 to 4.9.1 update

Jan Henrik Sylvester me at janh.de
Tue Jun 5 14:03:54 UTC 2012


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


More information about the freebsd-gecko mailing list