From 64a923ea9802fcf2c57c2269c180256206888ac4 Mon Sep 17 00:00:00 2001
From: Jeremy Messenger <mezz@FreeBSD.org>
Date: Fri, 2 Dec 2005 05:30:01 +0000
Subject: Fix all those ports to find libnssckbi.so in the correct place to
 allow those SSL certificates work again. Somehow, this patch was lost in the
 big change, so bring it back. Bump PORTREVISION on all of those ports.

PR:		ports/89796
Reported by:	Christoph Moench-Tegeder <cmt@burggraben.net>
---
 www/mozilla/Makefile        | 2 +-
 www/mozilla/Makefile.common | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

(limited to 'www/mozilla')

diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 8d71725431ac..f0f3bff4cb59 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -8,7 +8,7 @@
 
 PORTNAME=	mozilla
 PORTVERSION=	1.7.12
-PORTREVISION?=	3
+PORTREVISION?=	4
 PORTEPOCH=	2
 CATEGORIES?=	www
 MASTER_SITES=	${MASTER_SITE_MOZILLA} \
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index cce87c70311d..20395a8677dc 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -280,6 +280,9 @@ gecko-post-patch:
 		${WRKSRC}/widget/src/gtk2/nsSound.cpp
 	@${REINPLACE_CMD} -E -e 's|libcups\.so\.[0-9]+|libcups.so|g' \
 		${WRKSRC}/gfx/src/gtk/nsDeviceContextSpecG.cpp
+	@${REINPLACE_CMD} -e 's|/usr/local/netscape|${LOCALBASE}|g ; \
+		s|/usr/local/lib/netscape|${LOCALBASE}/lib|g' \
+		${WRKSRC}/xpcom/*/SpecialSystemDirectory.cpp
 	@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
 		${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
 		${FALSE}; \
-- 
cgit v1.2.3