diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile index d35649d0780e..de614db34411 100644 --- a/x11-toolkits/fltk/Makefile +++ b/x11-toolkits/fltk/Makefile @@ -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} diff --git a/x11-toolkits/fltk/files/patch-configure b/x11-toolkits/fltk/files/patch-configure index 7b60c0c4e1a9..c3a19182aff1 100644 --- a/x11-toolkits/fltk/files/patch-configure +++ b/x11-toolkits/fltk/files/patch-configure @@ -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"