Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 1998 00:36:50 -0400 (EDT)
From:      CyberPeasant <djv@lucy.bedford.net>
To:        mph@pobox.com (Matthew Hunt)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: KDE-1.0
Message-ID:  <199807200436.AAA04733@lucy.bedford.net>
In-Reply-To: <19980720000711.A20115@astro.psu.edu> from Matthew Hunt at "Jul 20, 98 00:07:11 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Hunt wrote
> On Sun, Jul 19, 1998 at 11:14:06PM -0400, CyberPeasant wrote:
> 
> > Maybe ask of -ports what the "true and righteous" way of specifying
> > the "other" make for a subset of a port is.  AFAIK, the toplevel "port"
> > Makefile has to be in BSD syntax, since it includes <bsd.port.mk>.
> > (My guess is that it involves twiddling the MAKE environment variable).
> 
> The correct way is to add
> 
> USE_GMAKE=yes
> 
> to the port's Makefile.

Ah, so. Thanks!

> The various variables of interest are documented at the top of
> /usr/share/mk/bsd.port.mk.
> 
> > Curious: the only port in 2.2.6-R that requires gmake to build is
> > pgp... and it doesn't use it! (It doesn't invoke gmake, just requires
> > it. Looks like an error.)
> 
> Since you didn't know about USE_GMAKE, I have to assume that you are
> using a wrong technique to determine which ports need gmake.

That's right. It was  find /usr/ports -name Makefile | xargs grep BUILD_DEPENDS 
	| grep make


> Admittedly, this is post-2.2.6, but:
> 
> flarn:~/FreeBSD/ports$ grep USE_GMAKE */*/Makefile | wc -l
>      156
> 
> 156 is considerably larger than 1. :-)

:)

> I do not know enough about PGP's build process to say offhand whether
> the BUILD_DEPENDS is an error.  Note that USE_GMAKE is an automatic
> dependency on gmake, just like USE_PERL5 requires, well, Perl 5.

I have gmake installed. I temporarily mv'd gmake to GNUMake or something
weird like that. Both US and non-US versions of pgp built successfully.

I should have known better -- I don't use pgp, and somehow gmake had
been installed. I assumed I had done it as a routine thing.

Dave
-- 
"Today, machines sit on our desks and spend the overwhelming majority
of their cycles doing nothing more important than blinking a cursor."
                            --William Dickens
   http://www.feedmag.com/html/feedline/98.07dickens/98.07dickens_master.html

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



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