From tu7k-kbt@asahi-net.or.jp  Mon Feb  4 06:31:38 2002
Return-Path: <tu7k-kbt@asahi-net.or.jp>
Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198])
	by hub.freebsd.org (Postfix) with ESMTP id 3DCD937B43A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  4 Feb 2002 06:31:37 -0800 (PST)
Received: from localhost (g032115.ppp.asahi-net.or.jp [211.132.32.115])
	by mail.asahi-net.or.jp (Postfix) with ESMTP id D02BE6263
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  4 Feb 2002 23:31:31 +0900 (JST)
Message-Id: <20020204.233026.97345989.tu7k-kbt@asahi-net.or.jp>
Date: Mon, 04 Feb 2002 23:30:26 +0900 (JST)
From: Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: www/fcgi is not LOCALBASE clean

>Number:         34611
>Category:       ports
>Synopsis:       www/fcgi is not LOCALBASE clean
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 04 06:40:08 PST 2002
>Closed-Date:    Thu Feb 7 20:19:43 PST 2002
>Last-Modified:  Thu Feb 07 20:21:05 PST 2002
>Originator:     Kazutoshi Kubota
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
CBUG - Tokyo west area BSD Users Group
>Environment:
System: FreeBSD flea.willbe6.org 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Thu Jan 31 06:58:15 GMT 2002 root@flea.willbe6.org:/usr/obj/usr/src/sys/AVENTURE i386

>Description:
prefix is always set to /usr/local by configure, whether --prefix is
specified or not.

>How-To-Repeat:
set $LOCALBASE to /opt or others, then make configure and see
$WRKSRC/Makefile.

>Fix:
diff -urN fcgi.orig/files/patch-ac fcgi/files/patch-ac
--- fcgi.orig/files/patch-ac	Thu Jan  1 09:00:00 1970
+++ fcgi/files/patch-ac	Mon Feb  4 23:00:38 2002
@@ -0,0 +1,11 @@
+--- configure.orig	Mon Feb  4 22:16:38 2002
++++ configure	Mon Feb  4 22:20:29 2002
+@@ -2132,7 +2132,7 @@
+     EXPORTS_COMMON=$EXPORTS_ROOT/$SUBSYSTEM/$VERSION/common
+   fi
+ else
+-  EXPORTS_ROOT=/usr/local
++  EXPORTS_ROOT=$prefix
+   EXPORTS_PREFIX=$EXPORTS_ROOT
+   EXPORTS_COMMON=$EXPORTS_ROOT
+ fi
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Thu Feb 7 20:19:43 PST 2002 
State-Changed-Why:  
Update to 2.2.2 just committed and its not a problem anymore, Thanks 
for your submission! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34611 
>Unformatted:
