Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2015 16:56:37 +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: r403302 - head/sysutils/rubygem-facter
Message-ID:  <201512081656.tB8GubbT072032@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec  8 16:56:37 2015
New Revision: 403302
URL: https://svnweb.freebsd.org/changeset/ports/403302

Log:
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/sysutils/rubygem-facter/Makefile

Modified: head/sysutils/rubygem-facter/Makefile
==============================================================================
--- head/sysutils/rubygem-facter/Makefile	Tue Dec  8 16:54:53 2015	(r403301)
+++ head/sysutils/rubygem-facter/Makefile	Tue Dec  8 16:56:37 2015	(r403302)
@@ -31,10 +31,8 @@ OPTIONS_DEFAULT=	ZFS_FACTS
 RUN_DEPENDS+=	dmidecode:${PORTSDIR}/sysutils/dmidecode
 .endif
 
-post-patch:
-.if empty(PORT_OPTIONS:MZFS_FACTS)
+post-patch-ZFS_FACTS-off:
 	@${REINPLACE_CMD} -e 's/\,\ \"lib\/facter\/zfs_version.rb\"//' ${WRKSRC}/${PORTNAME}.gemspec
 	@${REINPLACE_CMD} -e 's/\,\ \"lib\/facter\/zpool_version.rb\"//' ${WRKSRC}/${PORTNAME}.gemspec
-.endif
 
 .include <bsd.port.post.mk>



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