From owner-cvs-all Fri Aug 24 10:51:36 2001 Delivered-To: cvs-all@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id E30A137B403; Fri, 24 Aug 2001 10:51:24 -0700 (PDT) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.11.5/8.11.5) with ESMTP id f7OHnpd00834; Fri, 24 Aug 2001 13:49:53 -0400 (EDT) (envelope-from mi@aldan.algebra.com) Message-Id: <200108241749.f7OHnpd00834@aldan.algebra.com> Date: Fri, 24 Aug 2001 13:49:47 -0400 (EDT) From: Mikhail Teterin Subject: Re: cvs commit: ports/graphics/gd Makefile To: knu@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: <200108241408.f7OE8Be47242@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 24 Aug, Akinori MUSHA wrote: > knu 2001/08/24 07:08:11 PDT > > Modified files: > graphics/gd Makefile > Log: > Conditionalize the dependency on bzip2. I think this is very wrong :-) .if !exists(/usr/bin/bzip2) BUILD_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2 .endif First, make's ``.if exists'' is not at all the same as sh's ``test -e''. Second, it seems to me, what you _want_ it to do is just what USE_BZIP2 was doing... > De-portlint a bit. -- |\__-----__/| _____/ ::::: :::\_____ '__--( ::::::::..::)--__` -mi If you have a / _- \/ :::::::\/ -_ serious knowledge / / :. .::::\ \ about computers -- | ::::::::::::| Ok, let's say you broke keep it in a secret! _|/ ::::____::\|_ the wall with your head "Rules of dating", / /:::::/:_::\::\:.\ What are you going to 'Playboy', ? 1994 | :| ..:(_/ \::|::|::| do in the next cell? | :|:::::. ::|: |::|.:| Stanislaw J. Lec \ |:: :::_/::/: :|:/ ((___\____\____/___/___)) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message