Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2001 03:03:42 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/graphics/gd Makefile
Message-ID:  <86elq1fi81.wl@archon.local.idaemons.org>
In-Reply-To: <200108241749.f7OHnpd00834@aldan.algebra.com>
References:  <200108241408.f7OE8Be47242@freefall.freebsd.org> <200108241749.f7OHnpd00834@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At Fri, 24 Aug 2001 13:49:47 -0400 (EDT),
Mikhail Teterin wrote:
> 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''.

Please elaborate?

> Second, it seems to me, what you  _want_ it to do is just what USE_BZIP2
> was doing...

1. I do _not_ want anything.  I just conditionalized the line.

2. USE_BZIP2 implies EXTRACT_SUFX=.tar.bz2, but the main tarball of
this port is gzip'ed, so it isn't the case.

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Freeze this moment a little bit longer, make each impression
  a little bit stronger..  Experience slips away -- Time stand still"

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?86elq1fi81.wl>