From owner-cvs-all Mon May 10 17:53: 9 1999 Delivered-To: cvs-all@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id BA5FE15187; Mon, 10 May 1999 17:53:05 -0700 (PDT) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id TAA00101; Mon, 10 May 1999 19:36:10 -0500 (CDT) Date: Mon, 10 May 1999 19:36:10 -0500 (CDT) From: Steve Price To: Satoshi Asami Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.port.mk In-Reply-To: <199905102311.QAA74400@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Still doesn't work as gmake and friends do. How about the patch I suggested instead? With gmake, autoconf, et al, the only requirement is that they are in my path. As it stands now if I set '${PREFIX}=/opt' and install libtool, then nothing that uses USE_LIBTOOL will work. BTW, the only reason the 'echo ...' is there is to give a meaningful message when ${LIBTOOL} doesn't exist and to avoid sending libtool's arguments to ${SH} with who knows what kind of ill side-effects. -steve Index: bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.313 diff -u -r1.313 bsd.port.mk --- bsd.port.mk 1999/05/10 23:11:07 1.313 +++ bsd.port.mk 1999/05/11 00:23:56 @@ -660,7 +660,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 On Mon, 10 May 1999, Satoshi Asami wrote: # asami 1999/05/10 16:11:11 PDT # # Modified files: # Mk bsd.port.mk # Log: # Spell out LIBTOOL with full path, otherwise it won't work since it's # called as an argument to /bin/sh. # # Submitted by: reg@shale.csir.co.za # # Revision Changes Path # 1.313 +2 -2 ports/Mk/bsd.port.mk # # To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message