Skip site navigation (1)Skip section navigation (2)
Date:      20 Aug 1999 05:30:35 -0700
From:      asami@freebsd.org (Satoshi - Ports Wraith - Asami)
To:        Mark Blackman <tmb@sophos.com>
Cc:        freebsd-ports@freebsd.org, obrien@freebsd.org
Subject:   Re: ports/devel/ddd and mk files.
Message-ID:  <vqc7lmqskgk.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Mark Blackman's message of "Fri, 20 Aug 1999 13:16:10 %2B0100"
References:  <199908201216.NAA97079@mescalero.sophos.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Mark Blackman <tmb@sophos.com>

 * make of ports/devel/ddd complains with lots of ...
 * 
 * "Makefile", line 32: warning: "echo -L/usr/X11R6/lib -lXm |  -e 's/-L//g' |  '{print $1}'" returned non-zero status
 * -e: not found
 * 
 * this is because the MOTIFLIB,SED, and AWK variables aren't
 * getting expanded. The only place I see these defined is
 * /usr/ports/Mk/bsd.port.mk, but I don't see how this
 * particular include is getting sucked in.  

Yikes.  Upon closer examination, this is doomed to fail if the user
doesn't define MOTIFLIB in /etc/make.conf.  The definition in
bsd.port.mk would come too late in that case.

Maybe it should be changed to something like

.if defined(MOTIFLIB)
...what we have now
.else
LIBXMDIR=	${X11BASE}
.endif

since the only time we'd worry about where Motif libs are is when it's
not in the default location (and the user should have defined MOTIFLIB
in /etc/make.conf for that to work) ?

 * So where are SED and AWK supposed to be defined?

I've fixed sed and awk a couple of hours ago.

Satoshi


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?vqc7lmqskgk.fsf>