summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-06-26 15:42:55 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-06-26 15:42:55 +0000
commita55e3512ac93ea7cc7e4ccc450024e33c7ea0309 (patch)
tree928bd494e58592e666ae471974c4f810e238351e /www
parent530a5f216bf914e8f313101677371feecaaea608 (diff)
downloadpkgsrc-a55e3512ac93ea7cc7e4ccc450024e33c7ea0309.tar.gz
if /usr/bin/rlog doesn't exist, then add a depends on devel/rcs for the
benefit of Darwin and Solaris. Noted in PR pkg/17401 by Pierre Bourgin.
Diffstat (limited to 'www')
-rw-r--r--www/cvsweb/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/cvsweb/Makefile b/www/cvsweb/Makefile
index 38d9dded411..741adc5ecda 100644
--- a/www/cvsweb/Makefile
+++ b/www/cvsweb/Makefile
@@ -1,5 +1,5 @@
#
-# $NetBSD: Makefile,v 1.9 2001/12/17 22:11:46 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2002/06/26 15:42:55 dmcmahill Exp $
#
DISTNAME= cvsweb-1.112
@@ -18,6 +18,10 @@ EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/cvsweb.conf.default ${PKG_SYSCONFDIR}/cvsweb.conf
+.if !exists(/usr/bin/rlog)
+DEPENDS+= rcs-[0-9]*:../../devel/rcs
+.endif
+
do-build:
${MV} ${WRKSRC}/cvsweb.cgi ${WRKSRC}/cvsweb.cgi.bak
${SED} -e 's,/usr/bin/perl,${PERL5},' \