Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 1998 00:07:11 -0400
From:      Matthew Hunt <mph@pobox.com>
To:        djv@bedford.net, "Peter D. Pawelek" <ppawel@axess.com>
Cc:        anxiety@primenet.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: KDE-1.0
Message-ID:  <19980720000711.A20115@astro.psu.edu>
In-Reply-To: <199807200314.XAA04284@lucy.bedford.net>; from CyberPeasant on Sun, Jul 19, 1998 at 11:14:06PM -0400
References:  <19980719201020.A244@axess.com> <199807200314.XAA04284@lucy.bedford.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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.

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.

-- 
Matthew Hunt <mph@pobox.com> * Stay close to the Vorlon.
http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349.

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?19980720000711.A20115>