Skip to content

Commit

Permalink
Use BUILD_DEPENDS on ${PREFIX}/libexec/ctime instead of
Browse files Browse the repository at this point in the history
.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.
  • Loading branch information
Satoshi Asami authored and Satoshi Asami committed Oct 10, 1995
1 parent 3597efb commit 38594e1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions news/nntp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@
# 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
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
Expand Down

0 comments on commit 38594e1

Please sign in to comment.