Bug 51438 - devel/nspr port doesn't install nspr-config script
Summary: devel/nspr port doesn't install nspr-config script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-26 13:20 UTC by Seva Gluschenko
Modified: 2003-04-28 06:20 UTC (History)
0 users

See Also:


Attachments
file.diff (357 bytes, patch)
2003-04-26 13:20 UTC, Seva Gluschenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seva Gluschenko 2003-04-26 13:20:09 UTC
	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.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-04-27 16:31:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2003-04-27 17:14:28 UTC
State Changed
From-To: open->closed

Fixed, thanks for reporting.
Comment 3 Morten Rodal 2003-04-27 21:27:56 UTC
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
Comment 4 Seva Gluschenko 2003-04-28 06:20:46 UTC
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.