Date: Wed, 23 Nov 2016 16:39:03 +0000 (UTC) From: Roman Bogorodskiy <novel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426941 - head/devel/libvirt Message-ID: <201611231639.uANGd3dH030569@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: novel Date: Wed Nov 23 16:39:02 2016 New Revision: 426941 URL: https://svnweb.freebsd.org/changeset/ports/426941 Log: 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 Modified: head/devel/libvirt/Makefile Modified: head/devel/libvirt/Makefile ============================================================================== --- head/devel/libvirt/Makefile Wed Nov 23 15:47:53 2016 (r426940) +++ head/devel/libvirt/Makefile Wed Nov 23 16:39:02 2016 (r426941) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611231639.uANGd3dH030569>