Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2019 17:55:15 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521228 - head/devel/cvs
Message-ID:  <201912281755.xBSHtFom022139@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sat Dec 28 17:55:15 2019
New Revision: 521228
URL: https://svnweb.freebsd.org/changeset/ports/521228

Log:
  Fix r521031 to correctly handle the case when texinfo is already installed
  but INFO is off.

Modified:
  head/devel/cvs/Makefile

Modified: head/devel/cvs/Makefile
==============================================================================
--- head/devel/cvs/Makefile	Sat Dec 28 17:38:50 2019	(r521227)
+++ head/devel/cvs/Makefile	Sat Dec 28 17:55:15 2019	(r521228)
@@ -40,8 +40,13 @@ WRKSRC=		${WRKDIR}/call/cvs-build
 DESTDIRNAME=	NADA
 MAKE_ARGS=	DESTDIR=${STAGEDIR}${PREFIX}
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e "s,/info/,/${INFO_PATH}/,g" ${WRKSRC}/Makefile.inc
+.if !${PORT_OPTIONS:MINFO}
+	@${REINPLACE_CMD} -e "s,doc,,g" ${WRKSRC}/Makefile
+.endif
 pre-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912281755.xBSHtFom022139>