Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2018 23:09:55 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Raphael Kubo da Costa <rakuco@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r469962 - head/x11-fonts/fantasque-sans-mono
Message-ID:  <zi12-c5b0-wny@FreeBSD.org>
In-Reply-To: <201805142026.w4EKQneh043689@repo.freebsd.org> (Raphael Kubo da Costa's message of "Mon, 14 May 2018 20:26:49 %2B0000 (UTC)")
References:  <201805142026.w4EKQneh043689@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Raphael Kubo da Costa <rakuco@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 && \




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