svn commit: r434642 - head/www/webalizer

Mathieu Arnold mat at FreeBSD.org
Wed Feb 22 23:16:48 UTC 2017


Le 22/02/2017 à 22:06, Dirk Meyer a écrit :
> Author: dinoex
> Date: Wed Feb 22 21:06:57 2017
> New Revision: 434642
> URL: https://svnweb.freebsd.org/changeset/ports/434642
>
> Log:
>   - bail out if not database is selected
>
> Modified:
>   head/www/webalizer/Makefile
>
> Modified: head/www/webalizer/Makefile
> ==============================================================================
> --- head/www/webalizer/Makefile	Wed Feb 22 20:58:38 2017	(r434641)
> +++ head/www/webalizer/Makefile	Wed Feb 22 21:06:57 2017	(r434642)
> @@ -65,6 +65,10 @@ IP_AS_HOSTNAME_CFLAGS=		-DUSE_IP_AS_HOST
>  
>  .include <bsd.port.options.mk>
>  
> +.if empty(PORT_OPTIONS:MBDB) && empty(PORT_OPTIONS:MBDB1)
> +OPTIONS_WRONG_RADIO=	BDB BDB1
> +.endif
> +
>  .if ${PORT_OPTIONS:MGEODB} || ${PORT_OPTIONS:MGEOIP} || make(makesum) || defined(FETCH_ALL)
>  DISTFILES+=	webalizer-flags.tgz:main
>  .endif
>
>

If the users have to choose between one and the other, please use
OPTIONS_SINGLE for it.
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html


-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20170223/ad361cad/attachment.sig>


More information about the svn-ports-head mailing list