Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2017 11:06:44 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454682 - in head/x11-toolkits/fltk: . files
Message-ID:  <201711221106.vAMB6iQB032147@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Nov 22 11:06:43 2017
New Revision: 454682
URL: https://svnweb.freebsd.org/changeset/ports/454682

Log:
  Remove `groff' from USES.
  
  It was recently killed in the base system and consumers have to use
  `textproc/groff' port now, which is a real PITA: it pulls in some
  obscure dependencies like `print/psutils', `graphics/netpbm', but
  most importantly, `ghostscript' (unconditionally), which is a huge
  abomination of its own, pulling another round of dependencies, some
  of which are as crazy as `graphics/svgalib' (sic).  Trying to reset
  all offered knobs to `off' results in unbuildable package.
  
  Pass NROFF as mere `echo' and be done with it.  Generated manpages
  remain identical.

Modified:
  head/x11-toolkits/fltk/Makefile
  head/x11-toolkits/fltk/files/patch-configure

Modified: head/x11-toolkits/fltk/Makefile
==============================================================================
--- head/x11-toolkits/fltk/Makefile	Wed Nov 22 09:00:16 2017	(r454681)
+++ head/x11-toolkits/fltk/Makefile	Wed Nov 22 11:06:43 2017	(r454682)
@@ -15,12 +15,13 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libpng.so:graphics/png
 
-USES=		groff jpeg localbase pkgconfig
+USES=		jpeg localbase pkgconfig
 USE_XORG=	x11 xcursor xext xfixes xft xinerama
 USE_GL=		glu
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-shared
+CONFIGURE_ENV=	NROFF=echo
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 

Modified: head/x11-toolkits/fltk/files/patch-configure
==============================================================================
--- head/x11-toolkits/fltk/files/patch-configure	Wed Nov 22 09:00:16 2017	(r454681)
+++ head/x11-toolkits/fltk/files/patch-configure	Wed Nov 22 11:06:43 2017	(r454682)
@@ -1,5 +1,14 @@
 --- configure.orig	2016-11-11 16:04:30 UTC
 +++ configure
+@@ -4193,7 +4193,7 @@ if ${ac_cv_path_NROFF+:} false; then :
+   $as_echo_n "(cached) " >&6
+ else
+   case $NROFF in
+-  [\\/]* | ?:[\\/]*)
++  [\\/]* | ?:[\\/]* | echo)
+   ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
+   ;;
+   *)
 @@ -7408,7 +7408,7 @@ $as_echo "$as_me: WARNING: Ignoring libraries \"$X_PRE
  	LIBS="$LIBS -lX11 $X_EXTRA_LIBS"
  	CFLAGS="$CFLAGS $X_CFLAGS"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711221106.vAMB6iQB032147>