Date: Mon, 10 May 1999 19:36:10 -0500 (CDT) From: Steve Price <sprice@hiwaay.net> To: Satoshi Asami <asami@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.port.mk Message-ID: <Pine.OSF.4.10.9905101922400.2515-100000@fly.HiWAAY.net> In-Reply-To: <199905102311.QAA74400@freefall.freebsd.org>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9905101922400.2515-100000>
