Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2020 21:39:31 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r534294 - head/sysutils/ebsnvme-id
Message-ID:  <202005072139.047LdVbH007521@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Thu May  7 21:39:31 2020
New Revision: 534294
URL: https://svnweb.freebsd.org/changeset/ports/534294

Log:
  IGNORE on FreeBSD without NVME_GET_NSID.

Modified:
  head/sysutils/ebsnvme-id/Makefile

Modified: head/sysutils/ebsnvme-id/Makefile
==============================================================================
--- head/sysutils/ebsnvme-id/Makefile	Thu May  7 21:09:25 2020	(r534293)
+++ head/sysutils/ebsnvme-id/Makefile	Thu May  7 21:39:31 2020	(r534294)
@@ -18,9 +18,15 @@ PLIST_FILES=	etc/rc.d/dev_aws_disk		\
 		sbin/ebsnvme-id			\
 		man/man8/ebsnvme-id.8.gz
 
+.include <bsd.port.pre.mk>
+
+.if (${OSVERSION} < 1103501) || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200516) || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300039)
+IGNORE= needs NVME_GET_NSID ioctl
+.endif
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd
 	${INSTALL_DATA} ${WRKSRC}/dev-aws-disk.conf ${STAGEDIR}${PREFIX}/etc/devd
 	${INSTALL_SCRIPT} ${WRKSRC}/dev_aws_disk ${STAGEDIR}${PREFIX}/etc/rc.d/
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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