Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2018 17:36:22 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472467 - head/sysutils/mmc-utils
Message-ID:  <201806151736.w5FHaMjr047844@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jun 15 17:36:22 2018
New Revision: 472467
URL: https://svnweb.freebsd.org/changeset/ports/472467

Log:
  - Remove always-false OSVERSION conditions
  - Convert the remaining one into IGNORE_DragonFly and fix message correspondingly
  
  Approved by:	portmgr blanket

Modified:
  head/sysutils/mmc-utils/Makefile

Modified: head/sysutils/mmc-utils/Makefile
==============================================================================
--- head/sysutils/mmc-utils/Makefile	Fri Jun 15 17:30:11 2018	(r472466)
+++ head/sysutils/mmc-utils/Makefile	Fri Jun 15 17:36:22 2018	(r472467)
@@ -13,22 +13,14 @@ COMMENT=	Userspace tools for MMC/SD devices
 LICENSE=	BSD3CLAUSE GPLv2
 LICENSE_COMB=	multi
 
+IGNORE_DragonFly=	only supported on FreeBSD
+
 USES=		gmake tar:bzip2
 
 PLIST_FILES=	man/man1/mmc.1.gz sbin/mmc
 
 MMC_GITURL=	git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
 
-.include <bsd.port.pre.mk>
-
-.if (${OPSYS} == FreeBSD && \
-	(${OSVERSION} < 1003514 || \
-	(${OSVERSION} > 1100000 && ${OSVERSION} < 1100513) || \
-	(${OSVERSION} > 1200000 && ${OSVERSION} < 1200025))) || \
-	${OPSYS} == DragonFly
-IGNORE=		only supported on recent OS versions
-.endif
-
 post-patch:
 .for i in Makefile mmc_cmds.c mmc.c man/mmc.1
 	@${REINPLACE_CMD} -e 's|^AM_CFLAGS|#^|; s|path/to|dev|g;\
@@ -49,4 +41,4 @@ maintainer-fetch:
 	@${MAKE} makesum
 	@${MAKE} clean
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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