aboutsummaryrefslogtreecommitdiff
path: root/net/spread
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-05-30 20:32:05 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-05-30 20:32:05 +0000
commit500e47d65639d5b4523391800aaeff28a201e552 (patch)
treece6b3fe897cd3f0a9e3d6aa7169e0569e42dc698 /net/spread
parent7c08ca40f72197272e8f83eba7ed24db4bc90028 (diff)
downloadports-500e47d65639d5b4523391800aaeff28a201e552.tar.gz
ports-500e47d65639d5b4523391800aaeff28a201e552.zip
Fix build with groff from ports and register the groff dependency
PR: 213725
Notes
Notes: svn path=/head/; revision=442120
Diffstat (limited to 'net/spread')
-rw-r--r--net/spread/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/spread/Makefile b/net/spread/Makefile
index 5e9041339827..3b318515a28a 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"