diff options
author | Marius Strobl <marius@FreeBSD.org> | 2019-12-28 17:55:15 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2019-12-28 17:55:15 +0000 |
commit | 52cfc9b5012d23ee7765313e016c4a70b718f78d (patch) | |
tree | b0b4b25035c9c33d62879691b09dc5868f07f288 | |
parent | d3f1615832ea1444a683aeb17be043d263151276 (diff) | |
download | ports-52cfc9b5012d23ee7765313e016c4a70b718f78d.tar.gz ports-52cfc9b5012d23ee7765313e016c4a70b718f78d.zip |
Fix r521031 to correctly handle the case when texinfo is already installed
but INFO is off.
Notes
Notes:
svn path=/head/; revision=521228
-rw-r--r-- | devel/cvs/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/cvs/Makefile b/devel/cvs/Makefile index c1e2708e994b..869165ae120f 100644 --- a/devel/cvs/Makefile +++ b/devel/cvs/Makefile @@ -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 |