svn commit: r472467 - head/sysutils/mmc-utils

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Jun 15 17:36:23 UTC 2018


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>


More information about the svn-ports-all mailing list