svn commit: r518336 - in head: audio/asterisk-espeak audio/asterisk-flite net/unison net/unison232 net/unison240 net/unison248

Tobias Kortkamp tobik at FreeBSD.org
Sun Nov 24 16:45:34 UTC 2019


Author: tobik
Date: Sun Nov 24 16:45:32 2019
New Revision: 518336
URL: https://svnweb.freebsd.org/changeset/ports/518336

Log:
  net/unison*, audio/asterisk-*: Set FLAVOR to a non-empty value by default
  
  Use range modifier properly.  The right syntax for looking up the
  first word of a variable is ${FLAVORS:[1]}.
  
  Reviewed by:	madpilot
  Differential Revision:	https://reviews.freebsd.org/D22530

Modified:
  head/audio/asterisk-espeak/Makefile
  head/audio/asterisk-flite/Makefile
  head/net/unison/Makefile
  head/net/unison232/Makefile
  head/net/unison240/Makefile
  head/net/unison248/Makefile

Modified: head/audio/asterisk-espeak/Makefile
==============================================================================
--- head/audio/asterisk-espeak/Makefile	Sun Nov 24 16:30:34 2019	(r518335)
+++ head/audio/asterisk-espeak/Makefile	Sun Nov 24 16:45:32 2019	(r518336)
@@ -15,7 +15,7 @@ LIB_DEPENDS=	libespeak.so:audio/espeak \
 		libsamplerate.so:audio/libsamplerate
 
 FLAVORS=			asterisk13 asterisk16
-FLAVOR?=			${FLAVORS[1]}
+FLAVOR?=			${FLAVORS:[1]}
 
 asterisk13_PKGNAMEPREFIX=	asterisk13-
 asterisk13_CONFLICTS_INSTALL=	asterisk16-espeak

Modified: head/audio/asterisk-flite/Makefile
==============================================================================
--- head/audio/asterisk-flite/Makefile	Sun Nov 24 16:30:34 2019	(r518335)
+++ head/audio/asterisk-flite/Makefile	Sun Nov 24 16:45:32 2019	(r518336)
@@ -14,7 +14,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libflite.so:audio/flite
 
 FLAVORS=			asterisk13 asterisk16
-FLAVOR?=			${FLAVORS[1]}
+FLAVOR?=			${FLAVORS:[1]}
 
 asterisk13_PKGNAMEPREFIX=	asterisk13-
 asterisk13_CONFLICTS_INSTALL=	asterisk16-flite

Modified: head/net/unison/Makefile
==============================================================================
--- head/net/unison/Makefile	Sun Nov 24 16:30:34 2019	(r518335)
+++ head/net/unison/Makefile	Sun Nov 24 16:45:32 2019	(r518336)
@@ -12,7 +12,7 @@ COMMENT=	User-level file synchronization tool
 LICENSE=	GPLv3
 
 FLAVORS=	x11 nox11
-FLAVOR?=	${FLAVORS[1]}
+FLAVOR?=	${FLAVORS:[1]}
 
 nox11_PKGNAMESUFFIX= -nox11
 nox11_CONFLICTS_INSTALL=	unison

Modified: head/net/unison232/Makefile
==============================================================================
--- head/net/unison232/Makefile	Sun Nov 24 16:30:34 2019	(r518335)
+++ head/net/unison232/Makefile	Sun Nov 24 16:45:32 2019	(r518336)
@@ -17,7 +17,7 @@ COMMENT=	User-level file synchronization tool
 LICENSE=	GPLv3
 
 FLAVORS=	x11 nox11
-FLAVOR?=	${FLAVORS[1]}
+FLAVOR?=	${FLAVORS:[1]}
 
 VERSIONSUFFIX=	232
 

Modified: head/net/unison240/Makefile
==============================================================================
--- head/net/unison240/Makefile	Sun Nov 24 16:30:34 2019	(r518335)
+++ head/net/unison240/Makefile	Sun Nov 24 16:45:32 2019	(r518336)
@@ -16,7 +16,7 @@ COMMENT=	User-level file synchronization tool
 LICENSE=	GPLv3
 
 FLAVORS=	x11 nox11
-FLAVOR?=	${FLAVORS[1]}
+FLAVOR?=	${FLAVORS:[1]}
 
 VERSIONSUFFIX=	240
 

Modified: head/net/unison248/Makefile
==============================================================================
--- head/net/unison248/Makefile	Sun Nov 24 16:30:34 2019	(r518335)
+++ head/net/unison248/Makefile	Sun Nov 24 16:45:32 2019	(r518336)
@@ -14,7 +14,7 @@ COMMENT=	User-level file synchronization tool
 LICENSE=	GPLv3
 
 FLAVORS=	x11 nox11
-FLAVOR?=	${FLAVORS[1]}
+FLAVOR?=	${FLAVORS:[1]}
 
 VERSIONSUFFIX=	248
 


More information about the svn-ports-all mailing list