svn commit: r521228 - head/devel/cvs
Marius Strobl
marius at FreeBSD.org
Sat Dec 28 17:55:16 UTC 2019
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
More information about the svn-ports-head
mailing list