Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2019 10:16:34 +0000 (UTC)
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507506 - head/Mk/Uses
Message-ID:  <201907281016.x6SAGYFe074829@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arrowd
Date: Sun Jul 28 10:16:34 2019
New Revision: 507506
URL: https://svnweb.freebsd.org/changeset/ports/507506

Log:
  Mk/Uses/cabal.mk: Check for invalid args.
  
  Reported by:	tobik

Modified:
  head/Mk/Uses/cabal.mk

Modified: head/Mk/Uses/cabal.mk
==============================================================================
--- head/Mk/Uses/cabal.mk	Sun Jul 28 09:58:30 2019	(r507505)
+++ head/Mk/Uses/cabal.mk	Sun Jul 28 10:16:34 2019	(r507506)
@@ -40,6 +40,14 @@
 .if !defined(_INCLUDE_USES_CABAL_MK)
 _INCLUDE_USES_CABAL_MK=    yes
 
+_valid_ARGS=	hpack
+
+.  for arg in ${cabal_ARGS}
+.    if !${_valid_ARGS:M${arg}}
+IGNORE=		USES=cabal: invalid arguments: ${cabal_ARGS}
+.    endif
+.  endfor
+
 PKGNAMEPREFIX?=	hs-
 
 EXECUTABLES?=	${PORTNAME}



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