Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2015 19:44:56 +0000 (UTC)
From:      Bartek Rutkowski <robak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382717 - head/sysutils/rubygem-facter
Message-ID:  <201503301944.t2UJiuTo078855@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: robak
Date: Mon Mar 30 19:44:55 2015
New Revision: 382717
URL: https://svnweb.freebsd.org/changeset/ports/382717
QAT: https://qat.redports.org/buildarchive/r382717/

Log:
  sysutils/rubygem-facter: fix build with ZFS_FACTS disabled
  
  - Upstream changed the name of the gemspec to not include version number, this change
    is to accomodate to that change
  
  PR:		199017

Modified:
  head/sysutils/rubygem-facter/Makefile

Modified: head/sysutils/rubygem-facter/Makefile
==============================================================================
--- head/sysutils/rubygem-facter/Makefile	Mon Mar 30 19:39:30 2015	(r382716)
+++ head/sysutils/rubygem-facter/Makefile	Mon Mar 30 19:44:55 2015	(r382717)
@@ -33,8 +33,8 @@ RUN_DEPENDS+=	dmidecode:${PORTSDIR}/sysu
 
 post-patch:
 .if empty(PORT_OPTIONS:MZFS_FACTS)
-	@${REINPLACE_CMD} -e '/\-\ lib\/facter\/zfs_version.rb/d' ${WRKSRC}/${GEM_NAME}.gemspec
-	@${REINPLACE_CMD} -e '/\-\ lib\/facter\/zpool_version.rb/d' ${WRKSRC}/${GEM_NAME}.gemspec
+	@${REINPLACE_CMD} -e '/\-\ lib\/facter\/zfs_version.rb/d' ${WRKSRC}/${PORTNAME}.gemspec
+	@${REINPLACE_CMD} -e '/\-\ lib\/facter\/zpool_version.rb/d' ${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?201503301944.t2UJiuTo078855>