From c67d9595b84dfdc0c6792d4e529e524240bf37e0 Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Fri, 6 Oct 2000 15:49:00 +0000 Subject: [PATCH] Add a hack which allows to build www tree located in non-FreeBSD repository (for example external repository of translation project) --- en/ports/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/en/ports/Makefile b/en/ports/Makefile index 5296b0d1d7..a9fabe6ec3 100644 --- a/en/ports/Makefile +++ b/en/ports/Makefile @@ -1,4 +1,4 @@ -# $FreeBSD: www/en/ports/Makefile,v 1.27 2000/02/28 12:46:46 phantom Exp $ +# $FreeBSD: www/en/ports/Makefile,v 1.28 2000/09/30 00:21:39 nbm Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -13,7 +13,13 @@ CVS_OPT+= -Q CVS_OPT+= -R .endif - +# +# This hack is allows to build www/ tree for case when ports/ located +# in other repository, for example Repository of Translation Project +# +.if defined(PORTSCVSROOT) && !empty(PORTSCVSROOT) +CVS_OPT+= -d ${PORTSCVSROOT} +.endif .if defined(NOPORTSCVS) ${INDEX}: $${PORTSBASE}/${PINDEX}