- Switch to options helpers
Approved by: portmgr blanket
This commit is contained in:
parent
2dc3956c6e
commit
86c760186c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403302
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user