Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 1995 01:57:42 -0700
From:      asami@cs.berkeley.edu (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=)
To:        adam@veda.is
Cc:        ports@FreeBSD.org
Subject:   Re: nntp doesn't compile
Message-ID:  <199504180857.BAA03420@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199504180831.IAA09980@veda.is> (message from Adam David on Tue, 18 Apr 1995 08:31:12 %2B0000 (GMT))

next in thread | previous in thread | raw e-mail | index | archive | help
 * > ===>  Building for nntp-t5
 * > cd server; make   "LIBS=/usr/ports/news/cnews/work/libcnews.a -lcrypt" "CFLAGS=-O2 -I/usr/ports/news/cnews/work/libdbz"
 * > cc -O2 -I/usr/ports/news/cnews/work/libdbz -c main.c
 *          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Shouldn't use "/usr/ports" though, I had PORTSDIR set to
"/e/work/asami/ports" so it may have worked....

 * It depends on cnews being built first, and not yet cleaned. It might make
 * sense to install dbz.h somewhere when installing cnews, for instance in
 * /usr/local/include, if nobody complains that's what I'll do.

That's certainly fine for me, but the "not yet cleaned" is not very
elegant.  What about

.if !exists(${PREFIX}/include/dbz.h)
DEPENDS+=	${PORTSDIR}/news/cnews
.endif

?

Satoshi



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