Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 2015 22:23:00 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390336 - head/Mk
Message-ID:  <201506222223.t5MMN0XW049960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jun 22 22:22:59 2015
New Revision: 390336
URL: https://svnweb.freebsd.org/changeset/ports/390336

Log:
  Simplify test on zipped PATCHFILES

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Jun 22 22:06:34 2015	(r390335)
+++ head/Mk/bsd.port.mk	Mon Jun 22 22:22:59 2015	(r390336)
@@ -1637,11 +1637,9 @@ MAKE_SHELL?=	${SH}
 CONFIGURE_ENV+=	SHELL=${CONFIGURE_SHELL} CONFIG_SHELL=${CONFIGURE_SHELL}
 MAKE_ENV+=		SHELL=${MAKE_SHELL} NO_LINT=YES
 
-.if defined(PATCHFILES)
-.if ${PATCHFILES:M*.zip}x != x
+.if defined(PATCHFILES) && ${PATCHFILES:M*.zip}
 PATCH_DEPENDS+=		${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
 .endif
-.endif
 
 # Check the compatibility layer for amd64/ia64
 



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