Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 1999 10:40:03 -0700 (PDT)
From:      Steve Price <sprice@hiwaay.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/12930: libtool create defuct makefiles if PREFIX is used
Message-ID:  <199908021740.KAA48950@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/12930; it has been noted by GNATS.

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
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908021740.KAA48950>