summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2017-05-30 20:32:05 +0000
committerbapt <bapt@FreeBSD.org>2017-05-30 20:32:05 +0000
commit4db20ae330721d05e9a82eb811b2c21d3d8d5e9d (patch)
treece6b3fe897cd3f0a9e3d6aa7169e0569e42dc698
parent71946b5989afd7eb3771f73fd920b67b0c0e342f (diff)
downloadFreeBSD-ports-4db20ae330721d05e9a82eb811b2c21d3d8d5e9d.zip
FreeBSD-ports-4db20ae330721d05e9a82eb811b2c21d3d8d5e9d.tar.gz
Fix build with groff from ports and register the groff dependency
PR: 213725
-rw-r--r--net/spread/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/spread/Makefile b/net/spread/Makefile
index 5e90413..3b31851 100644
--- a/net/spread/Makefile
+++ b/net/spread/Makefile
@@ -14,7 +14,7 @@ COMMENT= The Spread Group Communication System, a network toolkit
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
-USES= perl5 tar:xz
+USES= groff perl5 tar:xz
USE_PERL5= build run
USE_RC_SUBR= spread
USE_LDCONFIG= yes
@@ -32,6 +32,10 @@ PKGMESSAGE= ${WRKSRC}/license.txt
PORTDOCS= Readme.txt LICENSE
HEADERFILES= sp_func.h sp_func.h sp_events.h
+# The groff port does not install a "nroff binary" force configure to use
+# 'groff' directly
+
+CONFIGURE_ENV+= ac_cv_path_NROFF=groff
# bsd.port.mk doesn't allow us to use GNU_CONFIGURE and PERL_CONFIGURE together.
PERL_CONFIGURE_ARGS= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \
INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"
OpenPOWER on IntegriCloud