svn commit: r469962 - head/x11-fonts/fantasque-sans-mono

Jan Beich jbeich at FreeBSD.org
Mon May 14 21:10:04 UTC 2018


Raphael Kubo da Costa <rakuco at FreeBSD.org> writes:

> +# For `make makesum' to include all distfiles, it should be run with
> +# WITH="$(make -V OPTIONS_SINGLE_VARIANT)".
> +

$ make WITH="$(make -V OPTIONS_SINGLE_VARIANT)" BATCH=
===>  License OFL11 accepted by the user
====> You must select one and only one option from the VARIANT single
=====> Only one of these must be defined: NORMAL NOLOOPK LLINE LLINENOLOOPK
====> You must select one and only one option from the VARIANT single
=====> Only one of these must be defined: NORMAL NOLOOPK LLINE LLINENOLOOPK
====> You must select one and only one option from the VARIANT single
=====> Only one of these must be defined: NORMAL NOLOOPK LLINE LLINENOLOOPK
*** Error code 1

Maybe try the following patch.

Index: x11-fonts/fantasque-sans-mono/Makefile
===================================================================
--- x11-fonts/fantasque-sans-mono/Makefile	(revision 469967)
+++ x11-fonts/fantasque-sans-mono/Makefile	(working copy)
@@ -18,9 +18,6 @@ USES=		fonts
 
 OPTIONS_DEFINE=	DOCS
 
-# For `make makesum' to include all distfiles, it should be run with
-# WITH="$(make -V OPTIONS_SINGLE_VARIANT)".
-
 OPTIONS_SINGLE=	VARIANT
 OPTIONS_SINGLE_VARIANT= NORMAL NOLOOPK LLINE LLINENOLOOPK
 
@@ -36,6 +33,10 @@ NOLOOPK_DISTFILES=	FantasqueSansMono-NoLoopK.tar.g
 LLINE_DISTFILES=	FantasqueSansMono-LargeLineHeight.tar.gz
 LLINENOLOOPK_DISTFILES=	FantasqueSansMono-LargeLineHeight-NoLoopK.tar.gz
 
+.if make(makesum) # for optional distfiles
+.MAKEFLAGS:	WITH="${OPTIONS_SINGLE_VARIANT}"
+.endif
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
 	cd ${WRKSRC}/OTF && \



More information about the svn-ports-all mailing list