The devel/nspr port doesn't install nspr-config script, that is become useless for later builds, because configure scripts of nspr depending apps (such as Mozilla) fail to detect nspr installed. Fix: Apply patch below in devel/nspr and reinstall nspr port. How-To-Repeat: make install in devel/nspr and then try to build Mozilla with --use-system-nspr=/usr/local configure option. The configure script will fail to detect the nspr installed.
Responsible Changed From-To: freebsd-ports-bugs->gnome Over to maintainer
State Changed From-To: open->closed Fixed, thanks for reporting.
On Sat, Apr 26, 2003 at 04:14:04PM +0400, Seva Gluschenko wrote: > >Fix: > > Apply patch below in devel/nspr and reinstall nspr port. > > --- Makefile.orig Sat Apr 26 16:06:28 2003 > +++ Makefile Sat Apr 26 16:08:07 2003 > @@ -33,6 +33,7 @@ > ${TAR} -C ${PREFIX}/include -xf - > ${TAR} -C ${WRKSRC}/dist/lib --dereference -cf - . | \ > ${TAR} -C ${PREFIX}/lib -xf - > + cp ${WRKSRC}/build/config/nspr-config ${PREFIX}/bin > .for lib in ${LIBS} > ${LN} -sf ${lib} ${PREFIX}/lib/${lib:S/.1$//} > .endfor I am unable to install this if I do not remove the "/build" from the patch. I get: install: /usr/obj/usr/ports/devel/nspr/work/nspr-4.3/mozilla/nsprpub/build/build/config/nspr-config: No such file or directory *** Error code 71 Notice the "/build/build/". This is on a -CURRENT as of 26 Apr 2003. -- Morten Rodal
Message of Morten Rodal at Apr 27 22:27 ... MR> > --- Makefile.orig Sat Apr 26 16:06:28 2003 MR> > +++ Makefile Sat Apr 26 16:08:07 2003 MR> > @@ -33,6 +33,7 @@ MR> > ${TAR} -C ${PREFIX}/include -xf - MR> > ${TAR} -C ${WRKSRC}/dist/lib --dereference -cf - . | \ MR> > ${TAR} -C ${PREFIX}/lib -xf - MR> > + cp ${WRKSRC}/build/config/nspr-config ${PREFIX}/bin MR> > .for lib in ${LIBS} MR> > ${LN} -sf ${lib} ${PREFIX}/lib/${lib:S/.1$//} MR> > .endfor MR> MR> I am unable to install this if I do not remove the "/build" from the MR> patch. I get: MR> MR> install: MR> /usr/obj/usr/ports/devel/nspr/work/nspr-4.3/mozilla/nsprpub/build/build/config/nspr-config: No such file or directory MR> *** Error code 71 MR> MR> Notice the "/build/build/". This is on a -CURRENT as of 26 Apr 2003. My apologies to all folks, I was unattentional. Of course, ${WRKSRC}/config/nspr-config, "build/" is superfluous. SY, Seva Gluschenko | GVS-RIPE | GVS3-RIPN Cronyx Plus / RiNet network administrator.