aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-05-04 03:58:24 +0000
committerCy Schubert <cy@FreeBSD.org>2022-05-09 17:49:27 +0000
commitf75bec470e4ef6b2fd72a0c40d8d28cb0e513a66 (patch)
tree494f64766e9680858c759de06662e8bd6365b9fd
parentf63fdcf8eaea50c190123b8ea00e3d7b4eaf32ef (diff)
downloadports-f75bec470e4ef6b2fd72a0c40d8d28cb0e513a66.tar.gz
ports-f75bec470e4ef6b2fd72a0c40d8d28cb0e513a66.zip
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>
-rw-r--r--sysutils/nut-devel/Makefile3
-rw-r--r--sysutils/nut/Makefile2
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} \