Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2003 16:14:04 +0400 (MSD)
From:      Seva Gluschenko <gvs@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/51438: devel/nspr port doesn't install nspr-config script
Message-ID:  <200304261214.h3QCE4W6005559@yeho.demos.su>
Resent-Message-ID: <200304261220.h3QCK94b031308@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         51438
>Category:       ports
>Synopsis:       devel/nspr port doesn't install nspr-config script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 26 05:20:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Seva Gluschenko
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
JSC Demos-Internet
>Environment:
System: FreeBSD yeho.demos.su 4.8-STABLE FreeBSD 4.8-STABLE #2: Sun Apr 20 18:31:10 MSD 2003 gvs@yeho.demos.su:/local/src/sys/compile/road i386


	
>Description:
	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.
>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.
>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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304261214.h3QCE4W6005559>