From bmah@employees.org  Fri Feb  1 09:53:10 2002
Return-Path: <bmah@employees.org>
Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87])
	by hub.freebsd.org (Postfix) with ESMTP id 807E137B419
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  1 Feb 2002 09:53:09 -0800 (PST)
Received: from bmah.dyndns.org ([12.233.149.189]) by rwcrmhc54.attbi.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020201175308.XSYH7443.rwcrmhc54.attbi.com@bmah.dyndns.org>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 1 Feb 2002 17:53:08 +0000
Received: (from bmah@localhost)
	by bmah.dyndns.org (8.11.6/8.11.6) id g11Hr8P70153;
	Fri, 1 Feb 2002 09:53:08 -0800 (PST)
	(envelope-from bmah)
Message-Id: <200202011753.g11Hr8P70153@bmah.dyndns.org>
Date: Fri, 1 Feb 2002 09:53:08 -0800 (PST)
From: "Bruce A. Mah" <bmah@freebsd.org>
Reply-To: "Bruce A. Mah" <bmah@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: x11-fonts/webfonts installs to wrong ${PREFIX}
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         34533
>Category:       ports
>Synopsis:       x11-fonts/webfonts installs to wrong ${PREFIX}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 01 10:00:02 PST 2002
>Closed-Date:    Fri Feb 1 20:25:55 PST 2002
>Last-Modified:  Fri Feb 01 20:26:08 PST 2002
>Originator:     Bruce A. Mah
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD intruder.bmah.org 4.5-STABLE FreeBSD 4.5-STABLE #10: Mon Jan 28 17:58:09 PST 2002 root@intruder.bmah.org:/usr/obj/usr/src/sys/NIMITZ i386


>Description:

The x11-fonts/webfonts port, which (as of webfonts-0.12) used to install
with a PREFIX of X11BASE, now appears to install with a PREFIX of 
LOCALBASE (as of webfonts-0.21).  

On my systems, X11BASE and LOCALBASE remain their default
values of /usr/X11R6 and /usr/local respectively.

>How-To-Repeat:

% cd /usr/ports/x11-fonts/webfonts
% make -V PREFIX
/usr/local
% grep USE_X_PREFIX Makefile
USE_X_PREFIX=   yes

By comparison, I'd expect something like this:

% cd /usr/ports/x11-fonts/mozilla-fonts
% make -V PREFIX
/usr/X11R6
% grep USE_X_PREFIX Makefile
USE_X_PREFIX=   true

For reference:

% cat /etc/make.conf
USA_RESIDENT=YES
KERNCONF=NIMITZ NAT GENERIC
OPENJADE=YES
XFREE86_VERSION=4
DOC_PREFIX=/usr/doc

>Fix:

>Release-Note:
>Audit-Trail:

From: Tadayuki OKADA <tadayuki@mediaone.net>
To: "Bruce A. Mah" <bmah@FreeBSD.ORG>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/34533: x11-fonts/webfonts installs to wrong ${PREFIX}
Date: Fri, 1 Feb 2002 13:33:52 -0500

 Hi,
 
 I noticed the same problem.
 # I sent report to ports-jp.
 
 I think the problem is not 'yes' or 'true',
 but the place of USE_X_PREFIX.
 I moved USE_X_PREFIX before .include <bsd.port.pre.mk>,
 then it's installed expected place.
 
 Regards,
 
 On Fri, 1 Feb 2002 09:53:08 -0800 (PST)
 "Bruce A. Mah" <bmah@FreeBSD.ORG> wrote:
 
 > % cd /usr/ports/x11-fonts/webfonts
 > % make -V PREFIX
 > /usr/local
 > % grep USE_X_PREFIX Makefile
 > USE_X_PREFIX=   yes
 > 
 > By comparison, I'd expect something like this:
 > 
 > % cd /usr/ports/x11-fonts/mozilla-fonts
 > % make -V PREFIX
 > /usr/X11R6
 > % grep USE_X_PREFIX Makefile
 > USE_X_PREFIX=   true
 
 -- 
 Tadayuki OKADA

From: bmah@FreeBSD.ORG (Bruce A. Mah)
To: Tadayuki OKADA <tadayuki@mediaone.net>
Cc: "Bruce A. Mah" <bmah@FreeBSD.ORG>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/34533: x11-fonts/webfonts installs to wrong ${PREFIX} 
Date: Fri, 01 Feb 2002 15:53:34 -0800

 If memory serves me right, Tadayuki OKADA wrote:
 
 > I think the problem is not 'yes' or 'true',
 > but the place of USE_X_PREFIX.
 > I moved USE_X_PREFIX before .include <bsd.port.pre.mk>,
 > then it's installed expected place.
 
 Confirmed...this worked for me too.  Thanks for the tip!
 
 Bruce.
 
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Fri Feb 1 20:25:55 PST 2002 
State-Changed-Why:  
Fixed, thanks! 

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