Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 13:49:47 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        knu@FreeBSD.org
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/graphics/gd Makefile
Message-ID:  <200108241749.f7OHnpd00834@aldan.algebra.com>
In-Reply-To: <200108241408.f7OE8Be47242@freefall.freebsd.org>

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




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