summaryrefslogtreecommitdiff
path: root/news/nntp/Makefile
diff options
context:
space:
mode:
authorAdam David <adam@FreeBSD.org>1995-04-18 14:37:45 +0000
committerAdam David <adam@FreeBSD.org>1995-04-18 14:37:45 +0000
commitb7bb2b8db1ea757a276785e9fbab8aaecd8b6867 (patch)
tree7c2c148209898ba9da32b2a1dadfc08008d4bb16 /news/nntp/Makefile
parentGeneral cleanup: (diff)
find dbz.h and libcnews.a under ${PREFIX}/{include,lib}
Diffstat (limited to 'news/nntp/Makefile')
-rw-r--r--news/nntp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/news/nntp/Makefile b/news/nntp/Makefile
index 7799f98b114a..df506a9c5f6b 100644
--- a/news/nntp/Makefile
+++ b/news/nntp/Makefile
@@ -3,7 +3,7 @@
# Date created: 29 September 1994
# Whom: adam
#
-# $Id: Makefile,v 1.3 1995/04/01 12:49:11 jkh Exp $
+# $Id: Makefile,v 1.4 1995/04/11 23:29:45 asami Exp $
#
DISTNAME= nntp-t5
@@ -11,6 +11,10 @@ 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
+
pre-patch:
@cp ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h