svn commit: r427791 - in head/databases/memcached: . files

Mathieu Arnold mat at FreeBSD.org
Sun Dec 4 14:38:24 UTC 2016


Le 04/12/2016 à 15:28, Steve Wills a écrit :
> Author: swills
> Date: Sun Dec  4 14:28:22 2016
> New Revision: 427791
> URL: https://svnweb.freebsd.org/changeset/ports/427791
>
> Log:
>   databases/memcached: fix and enable DTrace option
>
> Modified:
>   head/databases/memcached/Makefile
>   head/databases/memcached/files/patch-configure.ac
>
> Modified: head/databases/memcached/Makefile
> ==============================================================================
> --- head/databases/memcached/Makefile	Sun Dec  4 14:24:14 2016	(r427790)
> +++ head/databases/memcached/Makefile	Sun Dec  4 14:28:22 2016	(r427791)
> @@ -3,6 +3,7 @@
>  
>  PORTNAME=	memcached
>  PORTVERSION=	1.4.33
> +PORTREVISION=	1
>  CATEGORIES=	databases
>  MASTER_SITES=	http://www.memcached.org/files/ \
>  		GENTOO
> @@ -19,7 +20,16 @@ CONFLICTS=	memcached-1.2*
>  
>  # Dtrace option disabled until it is fixed upstream
>  OPTIONS_DEFINE=		SASL DOCS DTRACE
> -OPTIONS_DEFAULT=	SASL
> +OPTIONS_DEFAULT=	SASL DTRACE
> +
> +.if !exists(/usr/sbin/dtrace)
> +OPTIONS_EXCLUDE+=	DTRACE
> +.endif
> +
> +OPTIONS_EXCLUDE_FreeBSD_9+=	DTRACE
> +OPTIONS_EXCLUDE_FreeBSD_10+=	DTRACE
> +OPTIONS_EXCLUDE+=		${OPTIONS_EXCLUDE_${OPSYS}_${OSREL:R}}
> +OPTIONS_EXCLUDE_i386=		DTRACE
>  

There already is a OPTIONS_EXCLUDE_${OPSYS}_${OSREL:R}, you don't need
to fidle with OPTIONS_EXCLUDE here.


-- 
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/20161204/92154f5d/attachment.sig>


More information about the svn-ports-head mailing list