From 38594e111610363304c2e38c8f73219cf0a2c06b Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Tue, 10 Oct 1995 07:28:10 +0000 Subject: [PATCH] Use BUILD_DEPENDS on ${PREFIX}/libexec/ctime instead of .if !exists(${PREFIX}/...), this is not a very clean solution but the previous version simply didn't work because ${PREFIX} wouldn't be substituted at this point. --- news/nntp/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/news/nntp/Makefile b/news/nntp/Makefile index df506a9c5f6b..791ccc4fadcd 100644 --- a/news/nntp/Makefile +++ b/news/nntp/Makefile @@ -3,7 +3,7 @@ # Date created: 29 September 1994 # Whom: adam # -# $Id: Makefile,v 1.4 1995/04/11 23:29:45 asami Exp $ +# $Id: Makefile,v 1.5 1995/04/18 14:37:45 adam Exp $ # DISTNAME= nntp-t5 @@ -11,9 +11,7 @@ PKGNAME= nntp-1.5.11.4 CATEGORIES+= news MASTER_SITES= ftp://nic.sura.net/pub/news/software/nntp/ -.if !exists(${PREFIX}/include/dbz.h) || !exists(${PREFIX}/lib/libcnews.a) -DEPENDS+= ${PORTSDIR}/news/cnews -.endif +BUILD_DEPENDS= ${PREFIX}/libexec/news/ctime:${PORTSDIR}/news/cnews pre-patch: @cp ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h