From owner-svn-ports-head@freebsd.org Wed Nov 23 16:39:04 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26C1AC514EF; Wed, 23 Nov 2016 16:39:04 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E921AF81; Wed, 23 Nov 2016 16:39:03 +0000 (UTC) (envelope-from novel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uANGd3GD030570; Wed, 23 Nov 2016 16:39:03 GMT (envelope-from novel@FreeBSD.org) Received: (from novel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uANGd3dH030569; Wed, 23 Nov 2016 16:39:03 GMT (envelope-from novel@FreeBSD.org) Message-Id: <201611231639.uANGd3dH030569@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: novel set sender to novel@FreeBSD.org using -f From: Roman Bogorodskiy Date: Wed, 23 Nov 2016 16:39:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426941 - head/devel/libvirt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2016 16:39:04 -0000 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 +.include + +.if ${ARCH} == amd64 || ${ARCH} == i386 +RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode +.endif + +.include