From nobody@FreeBSD.org  Wed Oct 23 11:15:51 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1E6B437B401
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Oct 2002 11:15:51 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A244843E3B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Oct 2002 11:15:50 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9NIFj7R089448
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Oct 2002 11:15:45 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9NIFjMo089447;
	Wed, 23 Oct 2002 11:15:45 -0700 (PDT)
Message-Id: <200210231815.g9NIFjMo089447@www.freebsd.org>
Date: Wed, 23 Oct 2002 11:15:45 -0700 (PDT)
From: "Eric J. Christeson" <echriste@ndsuext.nodak.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Mozilla Makefile if blocks still not right
X-Send-Pr-Version: www-1.0

>Number:         44418
>Category:       ports
>Synopsis:       Mozilla Makefile if blocks still not right
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 23 11:20:01 PDT 2002
>Closed-Date:    Wed Oct 23 11:26:45 PDT 2002
>Last-Modified:  Wed Oct 23 11:26:45 PDT 2002
>Originator:     Eric J. Christeson
>Release:        4.6-STABLE i386
>Organization:
>Environment:
FreeBSD robin.christeson.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Wed Aug  7 16:08:24 CDT 2002 root@robin.christeson.net:/usr/obj/usr/src/stable/src/sys/ROBIN  i386
>Description:
Mozilla builds fine but install bombs with: 

if [ ! -L /usr/X11R6/lib/browser_plugins/libjavaplugin_oji.so ]; then
Syntax error: end of file unexpected (expecting "fi")
*** Error code 2

Stop in /usr/ports/www/mozilla.
*** Error code 1


The first one was fixed in revision 1.122 of the Makefile, but line 146
is still wrong.
>How-To-Repeat:
portupgrade -R mozilla
>Fix:


--- Makefile.old        Wed Oct 23 11:13:29 2002
+++ Makefile    Wed Oct 23 12:42:59 2002
@@ -143,7 +143,6 @@
            ${MKDIR} ${PREFIX}/lib/browser_plugins; \
        fi
        if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
-
            ${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \
                ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so; \
        fi

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Wed Oct 23 11:26:26 PDT 2002 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44418 
>Unformatted:
