From owner-freebsd-ports Mon Aug 2 10:40:57 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9490C151F1 for ; Mon, 2 Aug 1999 10:40:51 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA48950; Mon, 2 Aug 1999 10:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 2 Aug 1999 10:40:03 -0700 (PDT) Message-Id: <199908021740.KAA48950@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Steve Price Subject: Re: ports/12930: libtool create defuct makefiles if PREFIX is used Reply-To: Steve Price Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/12930; it has been noted by GNATS. From: Steve Price 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