[49079] trunk/dports/devel/nspr/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Apr 3 00:33:52 PDT 2009


Revision: 49079
          http://trac.macports.org/changeset/49079
Author:   jeremyhu at macports.org
Date:     2009-04-03 00:33:51 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
nspr: revision bump to put nspr in its own dir.  This allows firefox to dlopen it without requiring all of /opt/local/lib to be in DYLD_LIBRARY_PATH and is what other distros have done to work around the issue...

Modified Paths:
--------------
    trunk/dports/devel/nspr/Portfile

Modified: trunk/dports/devel/nspr/Portfile
===================================================================
--- trunk/dports/devel/nspr/Portfile	2009-04-03 07:13:16 UTC (rev 49078)
+++ trunk/dports/devel/nspr/Portfile	2009-04-03 07:33:51 UTC (rev 49079)
@@ -4,8 +4,9 @@
 
 name		nspr
 version		4.7.3
+revision	1
 categories	devel
-maintainers	reiffert openmaintainer
+maintainers	jeremyhu openmaintainer
 platforms	darwin
 description	A platform-neutral API for system level and libc like functions.
 
@@ -21,14 +22,14 @@
 worksrcdir	${worksrcdir}/mozilla/nsprpub
 
 post-patch {
-	reinplace "s|@executable_path|${prefix}/lib|g" \
+	reinplace "s|@executable_path|${prefix}/lib/nspr|g" \
 		${worksrcpath}/configure.in \
 		${worksrcpath}/configure
 }
 
 universal_variant no
 
-configure.args	--disable-debug
+configure.args	--disable-debug --libdir=${prefix}/lib/nspr
 
 post-destroot {
 	file mkdir ${destroot}${prefix}/lib/pkgconfig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090403/05900cd8/attachment.html>


More information about the macports-changes mailing list