From dm@home.dinoex.sub.org Mon Aug  2 10:00:09 1999
Return-Path: <dm@home.dinoex.sub.org>
Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14])
	by hub.freebsd.org (Postfix) with ESMTP id 87DF214D49
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Aug 1999 09:59:51 -0700 (PDT)
	(envelope-from dm@home.dinoex.sub.org)
Received: (from uucp@localhost)
	by mail.dinoex.sub.org (8.9.3/8.9.3) with UUCP id SAA12436
	for FreeBSD-gnats-submit@freebsd.org; Mon, 2 Aug 1999 18:23:32 +0200 (CEST)
Received: (from uucp@localhost)
	by net2.dinoex.sub.org (8.9.3/8.9.3) with UUCP id KAA06358
	for FreeBSD-gnats-submit@freebsd.org; Mon, 2 Aug 1999 10:29:05 +0200 (CEST)
Received: (from dm@localhost)
	by home.dinoex.sub.org (8.9.3/8.9.3) id JAA53222;
	Mon, 2 Aug 1999 09:37:29 +0200 (CEST)
Message-Id: <199908020737.JAA53222@home.dinoex.sub.org>
Date: Mon, 2 Aug 1999 09:37:29 +0200 (CEST)
From: dirk.meyer@dinoex.sub.org
Sender: dm@home.dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: libtool create defuct makefiles if PREFIX is used
X-Send-Pr-Version: 3.2

>Number:         12930
>Category:       ports
>Synopsis:       libtool create defuct makefiles if PREFIX is used
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    asami
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug  2 10:10:00 PDT 1999
>Closed-Date:    Tue Nov 20 10:24:07 PST 2001
>Last-Modified:  Tue Nov 20 10:24:19 PST 2001
>Originator:     Dirk Meyer
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
privat
>Environment:

	PREFIX=/usr/extra

>Description:

	Building any package using libtool
	graphics/gd devel/gettext ....

>How-To-Repeat:
>Fix:

	none found yet


>Release-Note:
>Audit-Trail:

From: Bill Fumerola <billf@jade.chc-chimes.com>
To: dirk.meyer@dinoex.sub.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/12930: libtool create defuct makefiles if PREFIX is used
Date: Mon, 2 Aug 1999 12:15:54 -0400 (EDT)

 On Mon, 2 Aug 1999 dirk.meyer@dinoex.sub.org wrote:
 
 >  	ports try to call /usr/local/bin/libtool despite it was
 >  	build under /usr/extra too.
 
 libtool uses ${LOCALBASE}, not ${PREFIX}, you should probably set both.
 
 -- 
 - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp -
 - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org  -
 
 

From: Steve Price <sprice@hiwaay.net>
To: dirk.meyer@dinoex.sub.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/12930: libtool create defuct makefiles if PREFIX is used
Date: Mon, 2 Aug 1999 12:38:18 -0500 (CDT)

 On Mon, 2 Aug 1999 dirk.meyer@dinoex.sub.org wrote:
 
 # >Environment:
 # 
 # 	PREFIX=/usr/extra
 # 
 # >Description:
 # 
 # 	Building any package using libtool
 # 	graphics/gd devel/gettext ....
 # 
 # >How-To-Repeat:
 # >Fix:
 # 
 # 	none found yet
 # 
 # 
 # >Release-Note:
 # >Audit-Trail:
 # >Unformatted:
 #  >How-To-Repea: 
 #  
 #  	ports try to call /usr/local/bin/libtool despite it was
 #  	build under /usr/extra too.
 
 One solution is to use the following patch.  I use it all the
 time with no ill-effects.  I proposed it when the libtool
 changes were last made but it was shot down.  Just make sure that
 libtool can be found in your PATH and it should work for you as
 well.
 
 -steve
 
 Index: bsd.port.mk
 ===================================================================
 RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
 retrieving revision 1.315
 diff -u -r1.315 bsd.port.mk
 --- bsd.port.mk	1999/07/23 09:36:54	1.315
 +++ bsd.port.mk	1999/08/01 16:20:22
 @@ -666,7 +666,7 @@
  # Miscellaneous overridable commands:
  GMAKE?=			gmake
  AUTOCONF?=		autoconf
 -LIBTOOL?=		${LOCALBASE}/bin/libtool
 +LIBTOOL?=		`which libtool || echo ${LOCALBASE}/bin/libtool`
  XMKMF?=			xmkmf -a
  .if exists(/sbin/md5)
  MD5?=			/sbin/md5
 
 
Responsible-Changed-From-To: freebsd-ports->asami 
Responsible-Changed-By: jseger 
Responsible-Changed-When: Fri Sep 10 10:25:28 PDT 1999 
Responsible-Changed-Why:  
Proposed fix is a bsd.port.mk issue, those go to Satoshi. 
State-Changed-From-To: open->analyzed 
State-Changed-By: petef 
State-Changed-When: Mon Nov 19 14:22:42 PST 2001 
State-Changed-Why:  
Dirk, it looks like the problem was you just needed to set LOCALBASE.  Can 
this be closed now? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12930 
State-Changed-From-To: analyzed->closed 
State-Changed-By: petef 
State-Changed-When: Tue Nov 20 10:24:07 PST 2001 
State-Changed-Why:  
Submitter reports problem is solved. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12930 
>Unformatted:
 >How-To-Repea: 
 
 	ports try to call /usr/local/bin/libtool despite it was
 	build under /usr/extra too.
 
