git: f75bec470e4e - main - sysutils/nut: Remove redundant BUILD_DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 18:11:22 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f75bec470e4ef6b2fd72a0c40d8d28cb0e513a66
commit f75bec470e4ef6b2fd72a0c40d8d28cb0e513a66
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-05-04 03:58:24 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-05-09 17:49:27 +0000
sysutils/nut: Remove redundant BUILD_DEPENDS
Remove unused asciidoc BUILD_DEPENDS from sysutils/nut as its man pages
are already preformatted.
Also, add a comment to the sysutils/nut-devel port Makefile informing
developers to remove the BUILD_DEPENDS when copying/merging the -devel
port to the main port when a new release of nut is committed.
PR: 263751
Reported by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
---
sysutils/nut-devel/Makefile | 3 +++
sysutils/nut/Makefile | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index 6a12933363b5..b67f23a4dfd3 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -76,6 +76,9 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
LIB_DEPENDS+= libltdl.so:devel/libltdl
+# XXX Remove this when copying this port to sysutils/nut. The GA version
+# XXX of nut ships with preformatted files and therefore does not need
+# XXX asciidoc.
BUILD_DEPENDS= asciidoc:textproc/asciidoc
CGI_LIB_DEPENDS= libgd.so:graphics/gd
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index 2b0bf46bfdf4..1a9a89ddeec8 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -68,8 +68,6 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/nut \
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
LIB_DEPENDS+= libltdl.so:devel/libltdl
-BUILD_DEPENDS= asciidoc:textproc/asciidoc
-
CGI_LIB_DEPENDS= libgd.so:graphics/gd
CGI_CONFIGURE_WITH= cgi
CGI_CONFIGURE_ON= --with-cgipath=${CGIDIR} \