summaryrefslogtreecommitdiff
path: root/news/nntp
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-10-10 07:28:10 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-10-10 07:28:10 +0000
commit38594e111610363304c2e38c8f73219cf0a2c06b (patch)
tree80bfb03069ba7cff6120946cafdd44e746bf9fc8 /news/nntp
parentMove NO_PACKAGE to right place, also fix typo "to many" -> "too many". (diff)
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.
Notes
Notes: svn path=/head/; revision=2302
Diffstat (limited to 'news/nntp')
-rw-r--r--news/nntp/Makefile6
1 files 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