mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
devel/libvirt: improve tier-2 packaging
Add RUN_DEPEND on sysutils/dmidecode only on amd64 and i386 as it's available only on these ARCHs. Also, bump PORTREVISION due to dependencies change. Submitted by: linimon Reported by: linimon
This commit is contained in:
parent
8d33b9af06
commit
7760321433
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426941
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= libvirt
|
||||
PORTVERSION= 2.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://libvirt.org/sources/ \
|
||||
ftp://libvirt.org/libvirt/
|
||||
@ -18,8 +19,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libssh2.so:security/libssh2
|
||||
BUILD_DEPENDS= dnsmasq:dns/dnsmasq \
|
||||
xsltproc:textproc/libxslt
|
||||
RUN_DEPENDS= dnsmasq:dns/dnsmasq \
|
||||
dmidecode:sysutils/dmidecode
|
||||
RUN_DEPENDS= dnsmasq:dns/dnsmasq
|
||||
|
||||
OPTIONS_DEFINE= DOCS GNUTLS NLS NSS QEMU READLINE SASL
|
||||
OPTIONS_DEFAULT= GNUTLS READLINE
|
||||
@ -163,4 +163,10 @@ post-install:
|
||||
regression-test: build
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == amd64 || ${ARCH} == i386
|
||||
RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user