svn commit: r390336 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Mon Jun 22 22:23:00 UTC 2015


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
 


More information about the svn-ports-head mailing list