summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--news/husky-fidoconf/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/news/husky-fidoconf/Makefile b/news/husky-fidoconf/Makefile
index de2b813..6d665fd 100644
--- a/news/husky-fidoconf/Makefile
+++ b/news/husky-fidoconf/Makefile
@@ -16,8 +16,6 @@ INSTALL_TARGET= install install-man
MASTERDIR= ${.CURDIR}/../husky
COMPONENT_SUBDIR= fidoconf
-.include <bsd.port.pre.mk>
-
post-patch:
${REINPLACE_CMD} -e 's^/path/to/config^${PREFIX}/etc/fido/config^' \
${WRKSRC}/man/linkedto.1
@@ -26,7 +24,7 @@ post-patch:
# The correct fix is to update the texi file so modern texinfo can use it
# Until then, disable installation of info page on FreeBSD 11 and DragonFly
# to unbreak the build on those platforms.
-.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} > 1100000)
+.if !exists(/usr/bin/makeinfo)
${REINPLACE_CMD} -e '/cd doc /d' ${WRKSRC}/Makefile
.else
USES+= makeinfo
@@ -48,4 +46,4 @@ post-install:
${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fconf2tornado.1
${LN} -sf fconf2.1 ${STAGEDIR}${PREFIX}/man/man1/fecfg2fconf.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud