Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 1995 15:21:05 -0400 (EDT)
From:      Chuck Robey <chuckr@Glue.umd.edu>
To:        Satoshi Asami <asami@cs.berkeley.edu>
Cc:        paul@freebsd.org, ports@freebsd.org
Subject:   Re: Dependencies
Message-ID:  <Pine.SUN.3.91.950826151909.4276C-100000@cappuccino.eng.umd.edu>
In-Reply-To: <199508260925.CAA05181@silvia.HIP.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Aug 1995, Satoshi Asami wrote:

>  * I don't like the way dependencies currently work. 
>  * 
>  * I want to build ghostview but it depends on ghostscript so when I try
>  * and compile it it first goes off to get ghostscript and builds that,
>  * but I've already got ghostscript installed!
>  * 
>  * Can't the dependencies use pkg_* in some way to see if the package already
>  * exists before trying to rebuild it again?
> 
> Uhh, it should.  The line:
> 
>   EXEC_DEPENDS=   gs:${PORTSDIR}/print/ghostscript
> 
> in the ghostview Makefile does exactly that, check if the program "gs" 
> is in the search path (it uses "which"), and goes to build ghostscript 
> only if it's not found.
> 
> Maybe you don't have /usr/local/bin in your root's search path, then
> well sorry, it won't work, and I don't see any workaround for it.

Satoshi, the only time this is a pain for me is with libs.  One easy 
example is the grpahics subdir, which always seems to rebuild the libs if 
the associated directory in ports/graphics doesn't contain the library in 
question.  I am right now upgrading to current ports; has this been fixed 
there?

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
9120 Edmonston Ct #302      |
Greenbelt, MD 20770         | I run Journey2 and n3lxx, both FreeBSD
(301) 220-2114              | version 2.2 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.950826151909.4276C-100000>