diff --git a/srcpkgs/nspr/nspr-devel.template b/srcpkgs/nspr/nspr-devel.template index a54c9f7b19b..fa1a26c3d44 100644 --- a/srcpkgs/nspr/nspr-devel.template +++ b/srcpkgs/nspr/nspr-devel.template @@ -5,6 +5,9 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 + +Add_dependency run glibc-devel Add_dependency run nspr do_install() diff --git a/srcpkgs/nspr/template b/srcpkgs/nspr/template index f4a281d519b..da3b61081d9 100644 --- a/srcpkgs/nspr/template +++ b/srcpkgs/nspr/template @@ -36,5 +36,7 @@ post_install() echo "Cflags: -I/usr/include/nspr"; \ echo "Libs: -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl"; \ ) >${DESTDIR}/usr/lib/pkgconfig/nspr.pc - chmod 645 ${DESTDIR}/usr/lib/pkgconfig/nspr.pc + chmod 644 ${DESTDIR}/usr/lib/pkgconfig/nspr.pc || return 1 + cd ${DESTDIR}/usr/lib/pkgconfig && \ + ln -s nspr.pc mozilla-nspr.pc || return 1 }