nss: fix includedir for pkgconfig

This commit is contained in:
Robin Gloster 2017-10-09 20:49:11 +02:00
parent 4bba6650a6
commit 034c168aa2
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -68,7 +68,7 @@ in stdenv.mkDerivation rec {
sed -e "s,%prefix%,$PREFIX," \
-e "s,%exec_prefix%,$PREFIX," \
-e "s,%libdir%,$PREFIX/lib64," \
-e "s,%includedir%,$PREFIX/include/nss," \
-e "s,%includedir%,$dev/include/nss," \
-e "s,%NSS_VERSION%,$NSS_MAJOR_VERSION.$NSS_MINOR_VERSION.$NSS_PATCH_VERSION,g" \
-e "s,%NSPR_VERSION%,4.16,g" \
pkg/pkg-config/nss.pc.in > $out/lib/pkgconfig/nss.pc